|
|
commit a70bd69cfb8a9721de5ef059e3dab4ac0e99157e
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Sun Aug 21 10:14:18 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Sun Aug 21 10:14:18 2022 +0200
Fix argument of glMatrixMode() call.
src/Fl_Gl_Window.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/Fl_Gl_Window.cxx src/Fl_Gl_Window.cxx
index 4295d44..7e96784 100644
--- src/Fl_Gl_Window.cxx
+++ 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);
[ Direct Link to Message ] | |
|
| |