mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +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
|
\see \ref opengl_with_fltk_widgets
|
||||||
*/
|
*/
|
||||||
void Fl_Gl_Window::draw_end() {
|
void Fl_Gl_Window::draw_end() {
|
||||||
glMatrixMode(GL_MODELVIEW_MATRIX);
|
glMatrixMode(GL_MODELVIEW);
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
glMatrixMode(GL_PROJECTION);
|
glMatrixMode(GL_PROJECTION);
|
||||||
|
|||||||
Reference in New Issue
Block a user