diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-21 10:14:18 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-21 10:14:18 +0200 |
| commit | a70bd69cfb8a9721de5ef059e3dab4ac0e99157e (patch) | |
| tree | 7129693adb999fadde33701d9315bf7a92e8a675 /src | |
| parent | d5a1e7feb98f0d3efc17ea755a5f94d008cd4f80 (diff) | |
Fix argument of glMatrixMode() call.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 |
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); |
