summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>2015-09-11 14:48:26 +0200
committerAndras Timar <andras.timar@collabora.com>2015-09-18 10:10:41 +0200
commit9be1c3f6784b0e62c89f267a2ea0df5c835dd5c8 (patch)
treedf2e4637a06e7df35a44e05b32c540b59d52659b /slideshow
parent962c4349e1b2f056d7d9e6d3e7cbbb939567fa3a (diff)
tdf#94031 - slideshow: bind correct GL context for prepareEnvironment
Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index f468f8742f42..db5097083cc6 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -1185,6 +1185,7 @@ void OGLTransitionerImpl::GLInitSlides()
TimerContext aTimerContext("texture creation");
#endif
+ mpContext->makeCurrent();
prepareEnvironment();
const OGLFormat* pFormat = NULL;