summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>2015-09-11 14:48:26 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-09-11 17:43:07 +0100
commitc5e3cf0f17605b4fcc809eadf5ebdc9d80025556 (patch)
tree735dc1ed8c8949056ea69dbcc82819f1bd2d6967
parent3aec17698adc403eac018a5c9f00bf75640b1e42 (diff)
tdf#94031 - slideshow: bind correct GL context for prepareEnvironment
Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c
-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 d21c52bf594f..ccf12c465d63 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;