Change to windowed mode

BlitzMax Forums/BlitzMax Beginners Area/Change to windowed mode

Hi, how can i change the game into windowed mode or full screen in the game?

Thank you

Ok i solved this, thanks anyway :P

I though it was using the SetGraphics function -_-

I basically call EndGraphics and the SetGraphics with either 32 (full-screen) or 0 (windowed) on the end.

Is EndGraphics really required? I see no advantage/disadvantage to using it/not using it.

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.

What was the reason you used EndGraphics for driver changes? You see, I don't use it myself and have not seen any problems.

I think it was just out of paranoia. I don't honestly remember.