From c5e3cf0f17605b4fcc809eadf5ebdc9d80025556 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Fri, 11 Sep 2015 14:48:26 +0200 Subject: tdf#94031 - slideshow: bind correct GL context for prepareEnvironment Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c --- slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'slideshow/source/engine') 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; -- cgit