diff options
Diffstat (limited to 'pugl/detail')
-rw-r--r-- | pugl/detail/x11_gl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c index d64916b..a881510 100644 --- a/pugl/detail/x11_gl.c +++ b/pugl/detail/x11_gl.c @@ -24,7 +24,6 @@ #include "pugl/pugl_gl_backend.h" #include "pugl/pugl_stub_backend.h" -#include <GL/gl.h> #include <GL/glx.h> #include <X11/X.h> #include <X11/Xlib.h> @@ -180,8 +179,6 @@ puglX11GlLeave(PuglView* view, bool drawing) if (drawing && surface->double_buffered) { glXSwapBuffers(view->impl->display, view->impl->win); - } else if (drawing) { - glFlush(); } glXMakeCurrent(view->impl->display, None, NULL); |