diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-10 04:06:25 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:59:57 +0100 |
commit | 556ddb68dca3515597517bb25a7463dcc68fdc2e (patch) | |
tree | 2c679fd323da874a7ee46ee53cf0da324beef332 /vcl | |
parent | ce8e2735dd2a3eb925209ba4cdfc3eba8a62cf9f (diff) |
only use OpenGL for window devices for now
That fixes the build problems that I have seen.
Change-Id: Ida89aa153d73ce4e07e3f0e0499df567e4df5009
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salgdi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx index d9d333d5eecd..4e3b76f93455 100644 --- a/vcl/win/source/gdi/salgdi.cxx +++ b/vcl/win/source/gdi/salgdi.cxx @@ -590,7 +590,7 @@ WinSalGraphics::WinSalGraphics(WinSalGraphics::Type eType, bool bScreen, HWND hW mnPenWidth(GSL_PEN_WIDTH) { static bool bOpenGLPossible = OpenGLHelper::supportsVCLOpenGL(); - bool bUseOpenGL = bOpenGLPossible && !mbPrinter ? officecfg::Office::Common::VCL::UseOpenGL::get() : false; + bool bUseOpenGL = bOpenGLPossible && mbWindow ? officecfg::Office::Common::VCL::UseOpenGL::get() : false; if (bUseOpenGL) mpImpl.reset(new WinOpenGLSalGraphicsImpl(*this)); else |