diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-09-16 16:36:36 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-09-16 16:36:36 +0200 |
commit | 04b059ce0573ff56bbbb0aa7a007b635336e1829 (patch) | |
tree | a7ef04596ead2075d0bc0efc2f4ac8b2f42732c3 /drawinglayer/source | |
parent | 7aa2f8c75d7bda103748fa73766a30fd77e50c16 (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.
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 8 |
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() |