How to switch graphics modes

BlitzMax Forums/BlitzMax Beginners Area/How to switch graphics modes

HrdNutz(Posted 2005) [#1]
Hi,

How can I toggle Windowed and Fullscreen modes at runtime?

Thanks in advance


FlameDuck(Posted 2005) [#2]
Graphics 640,480,32
DrawText "This is fullscreen" , 0 ,0
Flip
WaitKey
EndGraphics
Graphics 640,480
DrawText "This isn't" , 0 ,0
Flip
WaitKey
End