Fullscreen doesnt draw?

BlitzMax Forums/BlitzMax Beginners Area/Fullscreen doesnt draw?

Will(Posted 2005) [#1]
I have a game, and it works fine in windowed mode, but in fullscreen i get a solid black screen. It is too much code to post. I know my main loop is executing and the flip & cls commands are being called. I have no idea why everything remains black. Anyone have any ideas?


BlitzSupport(Posted 2005) [#2]
Do the supplied samples do this or just your own code?

If the latter, are you doing anything with SetAlpha or SetColor before drawing?


Will(Posted 2005) [#3]
Sorry, I had gotten so used to calling graphics 1024 768 0 that I had forgotten the 0 meant depth, to me it had started to feel like boolean fullscreen or not, I was calling graphics 1024 768 1 :P!!!


Tom Darby(Posted 2005) [#4]
Heh. Same thing happened to me when porting an old BB app--my graphics call had been something like "Graphics 640, 480, 16, 1". Of course, the 4th digit used to be fullscreen or windowed, whereas it's now hertz; you haven't lived until you've played something with your screen set to 1 Hz...