From 0e22ca28ddacce9e793dd032471df2bb04e9a6b4 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 10 Jan 2017 15:12:42 +0000 Subject: Match glPushAttrib() with glPopAttrib() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index f59b69244..b305bb7f3 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -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."); -- cgit v1.2.3