diff options
author | Lubosz Sarnecki <lubosz.sarnecki@collabora.co.uk> | 2015-09-11 14:48:26 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-19 21:32:11 +0200 |
commit | 4e779919c7a066851b428a3dbddf6e92eb591932 (patch) | |
tree | 9bac8cb1410de9a174fac4b6d745cf412962d442 | |
parent | d77459ec56dca79eae0e964c1a6dbe9d2b1354dc (diff) |
tdf#94031 - slideshow: bind correct GL context for prepareEnvironment
Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 1 |
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; |