summaryrefslogtreecommitdiff
path: root/vcl/source/opengl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-08-31 21:29:21 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-08-31 21:30:53 +0100
commit59618d22a04ca441b19f388e48ae9b1c9dd8183c (patch)
treee55b79757c91bb9a951b0a87ccd76f2965019c44 /vcl/source/opengl
parentb27b9084c5b55f6cf6732fb9bdc253658ea612ea (diff)
tdf#93822 - disable horror legacy menu background saving for OpenGL.
Change-Id: Icaa5fb197f3fa234da4538a2a7b21131cab89277
Diffstat (limited to 'vcl/source/opengl')
-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;
}