Full screen GL?
BlitzMax Forums/OpenGL Module/Full screen GL?| 
 | ||
| When I run the following code as is I get an error that the program has stopped working.  If I try to load and draw any sort of image or polygon it says "Unable to calculate tex size"  Long story short: I can't do anything with full screen OpenGL.  I have even tried 1024x768 full screen and it still doesn't work.  Am I missing something or is it just my graphics card? edit: full screen works fine normally and I have never had an issue before SetGraphicsDriver GLMax2DDriver() Graphics 1600,900,1,60 While Not KeyHit(key_escape) Cls Flip Wend Last edited 2012 | 
| 
 | ||
| 32 not 1? Cheers Charlie | 
| 
 | ||
| Hiya, I think you'll find you need something like Graphics 1600,900,32,60 The 32 is the bitdetph. In a game you would use a window as a front end that you'd use to start the main game. In the front end window You can then let the end user choose a fullscreen resolution from the results of GraphicsModes(). | 
| 
 | ||
| hmm that is odd, I always thought 0 meant windowed and 1 meant full screen... it works normally... thanks though!  It works now! Last edited 2012 |