diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 95333be4e..2c4b11250 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -173,9 +173,12 @@ public: \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). + \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.

Mac OS X platform: attributes belong to the CGLPixelFormatAttribute enumeration - (e.g., kCGLPFADoubleBuffer) and may be followed by adequate attribute values. + (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. */