summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 3eb8514c527e..9a28438afe83 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -26,6 +26,8 @@
#include <stdarg.h>
#include <vector>
+#include "svdata.hxx"
+
#include "opengl/zone.hxx"
#include "opengl/watchdog.hxx"
#include <osl/conditn.h>
@@ -627,7 +629,10 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
bRet = bEnable;
}
if (bRet)
+ {
OpenGLWatchdogThread::start();
+ ImplGetSVData()->maWinData.mbNoSaveBackground = true;
+ }
return bRet;
}