summaryrefslogtreecommitdiff
path: root/vcl/opengl/gdiimpl.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2016-03-07 17:14:35 +0000
committerMichael Meeks <michael.meeks@collabora.com>2016-03-09 15:23:16 +0000
commit368d7a1a40f14c92e06e0d0e6356f24cfb444707 (patch)
tree5ae8ecbdd6639b172bd94828ab7bf1c5c6e70cb9 /vcl/opengl/gdiimpl.cxx
parenta139320da2f28fe83145c9c9f33f2b3421fbc4c4 (diff)
vcldemo: improved text rendering test.
Merge in some interesting font / unicode combinations from bugs. Change-Id: I2c89cf505a7850fcc482826328e1cdb8e37508aa Reviewed-on: https://gerrit.libreoffice.org/23056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
-rw-r--r--vcl/opengl/gdiimpl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 24e16317cf57..ef4f4ae888a9 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -147,6 +147,9 @@ void OpenGLSalGraphicsImpl::Init()
if( maOffscreenTex.GetWidth() != GetWidth() ||
maOffscreenTex.GetHeight() != GetHeight() )
{
+ // We don't want to be swapping before we've painted.
+ mpFlush->SetPriority( SchedulerPriority::POST_PAINT );
+
if( maOffscreenTex && // don't work to release empty textures
mpContext.is() ) // valid context
{