Match glPushAttrib() with glPopAttrib()

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2017-01-10 15:12:42 +00:00
parent 28f1bdd408
commit 0e22ca28dd

View File

@ -373,7 +373,7 @@ void Fl_Gl_Window::draw() {
Fl_Window::draw();
glPopMatrix();
glPushAttrib(GL_ENABLE_BIT);
glPopAttrib();
Fl_Surface_Device::pop_current();
#else
Fl::fatal("Fl_Gl_Window::draw() *must* be overriden. Please refer to the documentation.");