summaryrefslogtreecommitdiff
path: root/vcl/win/source
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-08-26 17:17:19 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-08-26 21:10:27 +0000
commite16e64dd862c8f386f80de43ad68e831e169d49d (patch)
tree0494634d122958d43713d0d6de424268d06f7f3c /vcl/win/source
parent13cd7ea2b3123e24bb5ff29a8dcbb55a8fcf3859 (diff)
tdf#93530 - the VCL GDI flushing abstraction should glFlush too.
Change-Id: I45cb0e62278d8c3154ae8ad54ca4c93b3e177969 Reviewed-on: https://gerrit.libreoffice.org/18030 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/win/source')
-rw-r--r--vcl/win/source/window/salframe.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 42681731817d..8dc807690118 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -46,6 +46,7 @@
#include <vcl/window.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/opengl/OpenGLHelper.hxx>
// Warning in SDK header
#ifdef _MSC_VER
@@ -2201,11 +2202,13 @@ void WinSalFrame::SetPointerPos( long nX, long nY )
void WinSalFrame::Flush()
{
GdiFlush();
+ OpenGLHelper::flush();
}
void WinSalFrame::Sync()
{
GdiFlush();
+ OpenGLHelper::flush();
}
static void ImplSalFrameSetInputContext( HWND hWnd, const SalInputContext* pContext )