summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Gl_Window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 4295d4465..7e9678460 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -381,7 +381,7 @@ void Fl_Gl_Window::draw_begin() {
\see \ref opengl_with_fltk_widgets
*/
void Fl_Gl_Window::draw_end() {
- glMatrixMode(GL_MODELVIEW_MATRIX);
+ glMatrixMode(GL_MODELVIEW);
glPopMatrix();
glMatrixMode(GL_PROJECTION);