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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user