diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-04 01:19:12 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:58:49 +0100 |
commit | 18e1d133146a8f12f51a01f7fe57acda33729759 (patch) | |
tree | 5f409c9c03d70edd78b71451bf8849c8e2fea8d1 /vcl/win/source/gdi/salgdi.cxx | |
parent | 1ca250439d80940da15f10d602a97bbd6d41c8c1 (diff) |
use the new virtual device support in OpenGL for win backend
Change-Id: Icd67dd7bad1399c861db41c418095c2b6b1d6d78
Diffstat (limited to 'vcl/win/source/gdi/salgdi.cxx')
-rw-r--r-- | vcl/win/source/gdi/salgdi.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx index 9dfcf74b5782..17074a842218 100644 --- a/vcl/win/source/gdi/salgdi.cxx +++ b/vcl/win/source/gdi/salgdi.cxx @@ -487,6 +487,8 @@ void WinSalGraphics::InitGraphics() OpenGLSalGraphicsImpl* pImpl = dynamic_cast<OpenGLSalGraphicsImpl*>(mpImpl.get()); if (pImpl) { + if (mbVirDev) + pImpl->GetOpenGLContext().requestVirtualDevice(); pImpl->GetOpenGLContext().init(mhLocalDC, mhWnd); } } |