Screen Resolution

BlitzMax Forums/BlitzMax Beginners Area/Screen Resolution

pc_tek(Posted 2012) [#1]
Hi all...can anybody point me to some code that shows how to change from windowed to full screen and back again?

Cheers.


col(Posted 2012) [#2]
Hiya,

This is a basic example how to do it:




pc_tek(Posted 2012) [#3]
Thanks Dave!
...or col.


:)


pc_tek(Posted 2012) [#4]
After an EndGraphics command and then a new Graphics, would I have to reload all the elements again? I seem to remember in B3d that this was the case.


Oddball(Posted 2012) [#5]
If you mean images then no. BlitzMax reloads the image texture the next time the image is drawn. However, some people force the reloading of textures after Graphics to prevent any pauses caused by the reload during gameplay.


pc_tek(Posted 2012) [#6]
Thanks so much, Oddball.