summaryrefslogtreecommitdiff
path: root/vcl/source/opengl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-08-28 08:03:59 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-08-28 08:03:59 +0100
commita7f07e4dfe0acdec7386d28b23e65a5c0efa9d80 (patch)
tree4abcc8f76ea66fb767d465535c7795cd2c031288 /vcl/source/opengl
parent87c33ab18f747fdfeb56079e723982e11fd97c5f (diff)
Revert "tdf#93530 - the VCL GDI flushing abstraction should glFlush too."
This reverts commit e16e64dd862c8f386f80de43ad68e831e169d49d. I somehow forgot that glFlush is context specific, (gl always gets me that way).
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index f669fbaefeb7..2e0dcfd4e0ef 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -707,13 +707,4 @@ GLXFBConfig OpenGLHelper::GetPixmapFBConfig( Display* pDisplay, bool& bInverted
#endif
-void OpenGLHelper::flush()
-{
- if (!isVCLOpenGLEnabled())
- return;
-
- glFlush();
- CHECK_GL_ERROR();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */