diff options
| author | Manolo Gouy <Manolo> | 2017-01-10 15:12:42 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-01-10 15:12:42 +0000 |
| commit | 0e22ca28ddacce9e793dd032471df2bb04e9a6b4 (patch) | |
| tree | ed297c3be8a2e81df477761d9cabd406b538f36c /src/Fl_Gl_Window.cxx | |
| parent | 28f1bdd408075623894b6ae9398c6d67b8a579f8 (diff) | |
Match glPushAttrib() with glPopAttrib()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |
