summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2016-03-11 18:04:40 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-03-14 11:08:43 +0000
commit7fdc29469d3d098c1b2d5b1cfc7ed907031eb932 (patch)
tree63368f8b6114c7df713ba6820f2e45f875e0da76
parent218cd09611583437c05c33e2aa3b2b81cb416f98 (diff)
tdf#95616 - fix flickering issue
Change-Id: I0d5bfdf44dde2cd06c193f34e81c6ce71291bba1 Reviewed-on: https://gerrit.libreoffice.org/23238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r--vcl/opengl/gdiimpl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index ef4f4ae888a9..7bf7149fe588 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -454,6 +454,7 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture()
maOffscreenTex.GetHeight() != GetHeight() )
{
VCL_GL_INFO( "re-size offscreen texture " << maOffscreenTex.Id() );
+ mpFlush->SetPriority( SchedulerPriority::POST_PAINT );
mpContext->ReleaseFramebuffer( maOffscreenTex );
maOffscreenTex = OpenGLTexture();
}