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:
parent
28f1bdd408
commit
0e22ca28dd
@ -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.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user