OpenGL reporting errors

BlitzMax Forums/BlitzMax OpenGL Programming/OpenGL reporting errors

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.

Oddy, GraphicsDepth() returns 0, when it should say 16. It looks as though you can rely on OpenGL to tell you the actual desktop depth, but you can't rely on GraphicsDepth(). ... .or more to the point, 0 may be reported because that's what I specified in GLGraphics()?

The depth buffer is also 16-bit in 32-bit color desktop. I know it probably varies by manufacturer.