diff options
| author | Manolo Gouy <Manolo> | 2018-08-21 07:45:32 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-08-21 07:45:32 +0000 |
| commit | 153b175d907cdc506f3b3de159ebca7830b7e2e3 (patch) | |
| tree | 85423b8379b20a09cf77ad2b71230fccc7604e8c /documentation/src/opengl.dox | |
| parent | a3529e7c3fcb7b2a5e6cbec4c77c3585230da51b (diff) | |
Better doc for using OpenGL version 3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/src/opengl.dox')
| -rw-r--r-- | documentation/src/opengl.dox | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/documentation/src/opengl.dox b/documentation/src/opengl.dox index 7e75e82b7..91983f0c9 100644 --- a/documentation/src/opengl.dox +++ b/documentation/src/opengl.dox @@ -460,13 +460,17 @@ To access OpenGL 3.0 (or higher versions), use the <tt>FL_OPENGL3</tt> flag when calling Fl_Gl_Window::mode(int a) or glutInitDisplayMode(). <b>On the Windows and Unix/Linux platforms</b>, FLTK creates contexts -implementing the highest OpenGL version supported by the hardware, -which are also compatible with lower OpenGL versions. Thus, FLTK allows -source code targeting any version of OpenGL. Access to functions from OpenGL +implementing the highest OpenGL version supported by the hardware. +Such contexts may also be compatible with lower OpenGL versions. +Access to functions from OpenGL versions above 1.1 requires to load function pointers at runtime on these platforms. FLTK recommends to use the GLEW library to perform this. It is therefore -necessary to install the GLEW library (see below). <b>On the macOS platform</b>, -MacOS 10.7 or above is required; GLEW is possible but not necessary. +necessary to install the GLEW library (see below). + +<b>On the macOS platform</b>, MacOS 10.7 or above is required; +GLEW is possible but not necessary. FLTK creates contexts for OpenGL +versions 1 and 2 without the FL_OPENGL3 +flag and for OpenGL versions 3.2 and above with it. \par GLEW installation (Unix/Linux and Windows platforms) GLEW is available as a package for most Linux distributions and in source |
