mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 13:55:38 +08:00
Fix argument of glMatrixMode() call.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user