graphics3d - Unable to set graphics mode
Blitz3D Forums/Blitz3D Programming/graphics3d - Unable to set graphics mode
| ||
Hi there, i have done a little app that change its resolution in a certain point. I start it as 800*600, 32bit, and then i resize graphics3d to a different screensize. During the debug it works fine for almost any resolution i choose. But once the bb is compiled and i run the app, when it changes res, i got an error as Unable to set graphics mode. What could it be? thanks indeed, cheers, jTassinari |
| ||
In debug mode, the program runs in windowed mode by default. Windowed mode can have any resolution you want. However, when not in debug mode, the program runs in fullscreen. Only a certain amount of graphic modes are available when in fullscreen. Possible solutions: 1. Specify using windowmode: graphics 800,600,32,2 or graphics 800,600,32,3 2. Use GFXModeExists before setting a resolution |
| ||
Thanks Warner, I forgot to change the screen mode to 2... how could i... =) thanks indeed, cheers, jTassinari Last edited 2010 |