Request for GRAPHICS_HIDDEN flag

BlitzMax Forums/BlitzMax Programming/Request for GRAPHICS_HIDDEN flag

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I am very happy with some of the recent developments of BlitzMax.

I wanted to suggest that a GRAPHICS_HIDDEN flag be added. I have come across two uses:

-A bsp compiler or similar program that performs processing in a 3D engine, without actually wanting or needing to display graphics.

-Multisampling in OpenGL requires a graphics context to be initialized before OpenGL functions can be retrieved to create a second anti-aliased graphics context (see "Antialias in OpenGL" in the module tweaks section). In fact, any sort of graphics initialization that requires gl functions will need an initial hidden window to start with.

The antialias thread includes some code towards the bottom that will add the GRAPHICS_HIDDEN flag under Windows.

It would be better of there were official support for this simple feature. I try to write my code to work under the BlitzMax paradigms, it's better if users don't have to edit modules to get certain features.

Thanks!