diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 3 | ||||
| -rw-r--r-- | FL/Fl_Gl_Window.H | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 92cfac612..a2434bb19 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1226,7 +1226,8 @@ enum Fl_Mode { FL_MULTISAMPLE= 128, FL_STEREO = 256, FL_FAKE_SINGLE = 512, // Fake single buffered windows using double-buffer - FL_OPENGL3 = 1024 + FL_OPENGL3 = 1024, + FL_DEPTH32 = 2048, }; // image alpha blending diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 65ae1b12c..e81fa212d 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -150,7 +150,8 @@ public: - \c FL_DOUBLE - double buffered - \c FL_ACCUM - accumulation buffer - \c FL_ALPHA - alpha channel in color - - \c FL_DEPTH - depth buffer + - \c FL_DEPTH - any depth buffer (or set FL_DEPTH32 for at least 32 bits) + - \c FL_DEPTH32 - depth buffer with at least 32 bits - \c FL_STENCIL - stencil buffer - \c FL_MULTISAMPLE - multisample antialiasing - \c FL_OPENGL3 - use OpenGL version 3.0 or more. |
