Revert "disable caching of virtual devices when OpenGL is enabled"

Not needed anymore as the bug in OpenGL is fixed..

This reverts commit 6eff03b7d8.
This commit is contained in:
Tomaž Vajngerl
2015-09-16 16:36:36 +02:00
parent 7aa2f8c75d
commit 04b059ce05

View File

@@ -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()