[Libreoffice-commits] core.git: slideshow/source

Lubosz Sarnecki lubosz.sarnecki at collabora.co.uk
Fri Sep 11 09:33:10 PDT 2015


 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c5e3cf0f17605b4fcc809eadf5ebdc9d80025556
Author: Lubosz Sarnecki <lubosz.sarnecki at collabora.co.uk>
Date:   Fri Sep 11 14:48:26 2015 +0200

    tdf#94031 - slideshow: bind correct GL context for prepareEnvironment
    
    Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c

diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index d21c52b..ccf12c4 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;


More information about the Libreoffice-commits mailing list