summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-13 05:28:50 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-15 12:36:20 +0100
commit4093a540084488ed5d346f590dbf2a6d91286066 (patch)
treef477e3d2b77654338cb14eb907e6fe8ec81c55ee /vcl
parent169562ff2648a99a04a7faf6223c471e957608db (diff)
request single buffered context on windows
Change-Id: I7b9789053872446e312ae4e3c471986e3c5c55d2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/salgdi.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
index c5f848c677de..1004fbb31c37 100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -487,6 +487,7 @@ void WinSalGraphics::InitGraphics()
{
if (mbVirDev)
pImpl->GetOpenGLContext().requestVirtualDevice();
+ pImpl->GetOpenGLContext().requestSingleBufferedRendering();
pImpl->GetOpenGLContext().init(mhLocalDC, mhWnd);
}
}