summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-09-16 16:36:36 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-09-16 16:36:36 +0200
commit04b059ce0573ff56bbbb0aa7a007b635336e1829 (patch)
treea7ef04596ead2075d0bc0efc2f4ac8b2f42732c3
parent7aa2f8c75d7bda103748fa73766a30fd77e50c16 (diff)
Revert "disable caching of virtual devices when OpenGL is enabled"
Not needed anymore as the bug in OpenGL is fixed.. This reverts commit 6eff03b7d8b77b797f57f2344163ff67a99631f9.
-rw-r--r--drawinglayer/source/processor2d/vclhelperbufferdevice.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 0994646e5937..93919c0019a2 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -27,7 +27,6 @@
#include <vcl/lazydelete.hxx>
#include <vcl/dibtools.hxx>
-#include <vcl/opengl/OpenGLWrapper.hxx>
// buffered VDev usage
@@ -189,12 +188,7 @@ namespace
maFreeBuffers.push_back(&rDevice);
SAL_WARN_IF(maFreeBuffers.size() > 1000, "drawinglayer", "excessive cached buffers, "
<< maFreeBuffers.size() << " entries!");
-
- if (OpenGLWrapper::isVCLOpenGLEnabled())
- Invoke();
- else
- Start();
-
+ Start();
}
void VDevBuffer::Invoke()