summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-08-20 15:56:39 +0000
committerManolo Gouy <Manolo>2018-08-20 15:56:39 +0000
commita3529e7c3fcb7b2a5e6cbec4c77c3585230da51b (patch)
treea884f82d2cffb046645161d24e0190e3f5b995f5 /FL
parentc0e04da27f29a989b65958de4deb7566d172bdbe (diff)
Improved documentation related to access to OpenGL 3 under X11 platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Gl_Window.H8
1 files changed, 5 insertions, 3 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H
index ee34fad70..b4b0409a0 100644
--- a/FL/Fl_Gl_Window.H
+++ b/FL/Fl_Gl_Window.H
@@ -151,7 +151,7 @@ public:
- \c FL_DEPTH - depth buffer
- \c FL_STENCIL - stencil buffer
- \c FL_MULTISAMPLE - multisample antialiasing
- - \c FL_OPENGL3 - use OpenGL version 3.0 or more when running Mac OS.
+ - \c FL_OPENGL3 - use OpenGL version 3.0 or more.
FL_RGB and FL_SINGLE have a value of zero, so they
are "on" unless you give FL_INDEX or FL_DOUBLE.
@@ -171,6 +171,9 @@ public:
mode() must not be called within draw() since it
changes the current context.
+ The FL_OPENGL3 flag is required to access OpenGL version 3 or more
+ under the X11 and MacOS platforms; it's optional under Windows.
+
\note On the <b>Windows and Unix/Linux platforms</b>, FLTK produces
contexts for the highest OpenGL version supported by the hardware. Such contexts
are also compatible with lower OpenGL versions. On the <b>Apple OS X
@@ -179,8 +182,7 @@ public:
creates contexts adequate for OpenGL versions 1 and 2. To get contexts
for OpenGL 3.0 or higher, the <tt>FL_OPENGL3</tt> flag and Mac OS
version 10.7 or higher are required (in that case the context is NOT
- compatible with OpenGL versions 1 or 2). The <tt>FL_OPENGL3</tt> flag has no
- effect on non-Apple platforms.
+ compatible with OpenGL versions 1 or 2).
\version the <tt>FL_OPENGL3</tt> flag appeared in version 1.3.4
*/