From 4f72b6188737772f2e820205a4e485ef4a572b25 Mon Sep 17 00:00:00 2001
From: Matthias Melcher
Date: Sat, 18 Oct 2008 20:00:30 +0000
Subject: [PATCH] Added clarification to Fl_GL_Window mode function (STR #1945)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
CHANGES | 2 ++
documentation/Fl_Gl_Window.html | 2 ++
2 files changed, 4 insertions(+)
diff --git a/CHANGES b/CHANGES
index f09abf234..e69e347ce 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,8 @@ CHANGES IN FLTK 1.1.10
- Fixed wrong default value of Fl_Spinner in
Fluid (STR #1991)
- Fixed Fluid textcolor output (STR #1992)
+ - Added clarification to Fl_GL_Window mode
+ function (STR #1945)
CHANGES IN FLTK 1.1.9
diff --git a/documentation/Fl_Gl_Window.html b/documentation/Fl_Gl_Window.html
index a32b74f7c..1f3f94c6e 100644
--- a/documentation/Fl_Gl_Window.html
+++ b/documentation/Fl_Gl_Window.html
@@ -136,6 +136,8 @@ this is a top-level window this will unfortunately also cause the
window to blink, raise to the top, and be de-iconized, and the xid()
will change, possibly breaking other code. It is best to make the GL
window a child of another window if you wish to do this!
+mode() must not be called within draw() since it
+changes the current context.
Returns non-zero if the hardware supports the given or current OpenGL