diff options
author | Lubosz Sarnecki <lubosz.sarnecki@collabora.co.uk> | 2015-09-11 14:48:26 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-11 17:45:01 +0100 |
commit | 58abf71db71628fdb1cb8e70e8aa55f3f790ce3c (patch) | |
tree | a6f9b8050fe8a11b8b41a4785664c19527cff287 /slideshow | |
parent | a023cd66e74a96aec52d891508cd757292513401 (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.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; |