Fix argument of glMatrixMode() call.

This commit is contained in:
ManoloFLTK 2022-08-21 10:14:18 +02:00
parent d5a1e7feb9
commit a70bd69cfb

View File

@ -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);