Graphics command (fullscreen)

Archives Forums/MacOS X Discussion/Graphics command (fullscreen)

Beaker(Posted 2009) [#1]
Does anyone know how to get fullscreen going on a mac? I can't seem to get it working. This isn't helped by the lack of documentation regarding the Graphics command flags!


Brucey(Posted 2009) [#2]
Graphics 800, 600, 32

Will give you a fullscreen at 32bit depth.

0 as the third param, will give you windowed.


Beaker(Posted 2009) [#3]
Thanks Brucey. Just discovered the very same thing. Stupid docs!

Does anyone actually know what the flags param does?


Brucey(Posted 2009) [#4]
Oh, for options like zbuffer and things?


Brucey(Posted 2009) [#5]
Default has this enabled : GRAPHICS_BACKBUFFER | GRAPHICS_DEPTHBUFFER

In the glgraphics.macos.m, it has these enums defined :
	FLAGS_BACKBUFFER=	0x2,
	FLAGS_ALPHABUFFER=	0x4,
	FLAGS_DEPTHBUFFER=	0x8,
	FLAGS_STENCILBUFFER=0x10,
	FLAGS_ACCUMBUFFER=	0x20,
	FLAGS_FULLSCREEN=0x80000000