GLBasic User Manual

Main sections

SETSCREEN

SETSCREEN width#, height#, fullscreen#



Changes the screen size. If width# or height# are 0, their current size remains unchanged. The fullscreen parameter must be provided.
You can obtain the current fullscreen state with ISFULLSCREEN().

SETSCREEN 640, 480, 1
PRINT "Fullscreen", 100, 100
SHOWSCREEN
MOUSEWAIT


Note : With Linux based operating system, changing screen modes AFTER loading graphics will invalid all the loaded graphics. You should unload all graphics before changing screen modes. Same goes for OS-X.

See also...