Cant create a full screen window with GL

BlitzMax Forums/OpenGL Module/Cant create a full screen window with GL

Nate the Great(Posted 2010) [#1]
I have tried and tried, all I am doing is

SetGraphicsDriver GLMax2DDriver()
Graphics 1024,768,1,60


and it fails every time. No error is thrown, it just says blah.exe has stopped working. I tried it on 3 other windows computers and all say it has stopped responding. They are all DX emulating gl if I remember correctly so maybe there is a bug in the emulation? DX can run full screen just fine but I would much rather use GL


plash(Posted 2010) [#2]
The third parameter is color depth, not "fullscreen or not".
Try 32.


Nate the Great(Posted 2010) [#3]
Oh, I always assumed it was full screen because it works in dx to make it full screen. How do I make it full screen the right way?


Nate the Great(Posted 2010) [#4]
nvm it worked, thanks!!!