Debugging mode

Blitz3D Forums/Blitz3D Programming/Debugging mode

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

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.

Thanks Vinylpusher

I you omit the last parameter, it will use windowed in debugging mode and fullscreen in release (aka nondebugging) mode.