Change to windowed mode

BlitzMax Forums/BlitzMax Beginners Area/Change to windowed mode

Josepho(Posted 2007) [#1]
Hi, how can i change the game into windowed mode or full screen in the game?

Thank you


Josepho(Posted 2007) [#2]
Ok i solved this, thanks anyway :P

I though it was using the SetGraphics function -_-


Grey Alien(Posted 2007) [#3]
I basically call EndGraphics and the SetGraphics with either 32 (full-screen) or 0 (windowed) on the end.


GfK(Posted 2007) [#4]
Is EndGraphics really required? I see no advantage/disadvantage to using it/not using it.


Grey Alien(Posted 2007) [#5]
There was some reason I used it. It probably isn't in most cases. Just checked, yeah I don't use it for screen mode changes but I do when changing driver from DX to OpenGL.


JazzieB(Posted 2007) [#6]
What was the reason you used EndGraphics for driver changes? You see, I don't use it myself and have not seen any problems.


Grey Alien(Posted 2007) [#7]
I think it was just out of paranoia. I don't honestly remember.