Fix argument of glMatrixMode() call.
This commit is contained in:
parent
d5a1e7feb9
commit
a70bd69cfb
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user