From a70bd69cfb8a9721de5ef059e3dab4ac0e99157e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 21 Aug 2022 10:14:18 +0200 Subject: Fix argument of glMatrixMode() call. --- src/Fl_Gl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3