From 04d0d5f6be3541759ee68497afe0983389f32aed Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 21 Oct 2015 17:13:11 +0000 Subject: Documentation: explicit what #include commands are needed to use the Fl_Gl_Window::mode(int *) method. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Gl_Window.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 2c4b11250..4b28c18ed 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -172,7 +172,7 @@ public: /** Set the OpenGL capabilites of the window using platform-specific data. \param a zero-ending array of platform-specific attributes and attribute values

Unix/Linux platform: attributes are GLX attributes adequate for the 3rd argument of - the glXChooseVisual() function (e.g., GLX_DOUBLEBUFFER). + the glXChooseVisual() function (e.g., GLX_DOUBLEBUFFER, defined by including ). \note What attributes are adequate here is subject to change. The preferred, stable public API is Fl_Gl_Window::mode(int a).

MSWindows platform: this member function is of no use. @@ -180,7 +180,7 @@ public: (defined by including , e.g., kCGLPFADoubleBuffer) and may be followed by adequate attribute values. The pair kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core allows to create an OpenGL V3.2 profile - under Mac OS X 10.7 and above. + under Mac OS X 10.7 and above (and include to define OpenGL 3 symbols). */ int mode(const int *a) {return mode(0, a);} /** Returns a pointer to the GLContext that this window is using. -- cgit v1.2.3