Debugging mode

Blitz3D Forums/Blitz3D Programming/Debugging mode

DroolBucket(Posted 2005) [#1]
When i wrote my game i wrote in debug. Now, however, when i try to run it w/o debugg i get this error
"unable to set graphics mode"
how can i fix this?

thanks
DroolBucket


VP(Posted 2005) [#2]
You are trying to set a mode that isn't a 'standard' 640x480, 800x600, 1024x768 etc.

Works in debug mode because it's windowed. When you put it into release mode it tries to go fullscreen unless you do:

Graphics 896,574,32,2   ; It's the ,2 at the end which is important.
To force it to stay windowed.


DroolBucket(Posted 2005) [#3]
Thanks Vinylpusher


jfk EO-11110(Posted 2005) [#4]
I you omit the last parameter, it will use windowed in debugging mode and fullscreen in release (aka nondebugging) mode.