Kaydet (Commit) c5e3cf0f authored tarafından Lubosz Sarnecki's avatar Lubosz Sarnecki Kaydeden (comit) Michael Meeks

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

Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c
üst 3aec1769
...@@ -1185,6 +1185,7 @@ void OGLTransitionerImpl::GLInitSlides() ...@@ -1185,6 +1185,7 @@ void OGLTransitionerImpl::GLInitSlides()
TimerContext aTimerContext("texture creation"); TimerContext aTimerContext("texture creation");
#endif #endif
mpContext->makeCurrent();
prepareEnvironment(); prepareEnvironment();
const OGLFormat* pFormat = NULL; const OGLFormat* pFormat = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment