Skip to main content
GameDev.net gamedev.net
🔒 Locked

[Solved] Sometimes renders a blank screen

Started by slythfox Nov 19, 2009 at 2:46 AM 0 replies 400+ views
Original Post
slythfox
slythfox
On runtime, Linux builds will sometimes render a blank/black screen, and other times do what it's supposed to. The Windows builds do not do this. I'm wondering if anyone has run into this issue before or know what might be causing it. I've tried compiling and running the executable on three different Ubuntu Karmic machines (64bit and 32bit x86 architectures), both with very different video hardware. They all exhibit the same variable behavior. I have no idea what's going on. For the curious, the code is available from mercury here: http://code.google.com/p/tlaengine/ [Edited by - slythfox on November 19, 2009 10:23:36 AM]
snoutmate
snoutmate
Unitialized variable. In your ScreenManager you're using bool isDrawable to check if there is anything to draw, but you are not setting it to anything anywhere so it content is undefined. I'd say it's pure luck it works on Windows.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.