diff options
Diffstat (limited to 'slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 2446fb3bc8ec..61e89896176c 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -609,8 +609,8 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow ) GLWin.dpy = reinterpret_cast<unx::Display*>(pChildSysData->pDisplay); GLWin.win = pChildSysData->aWindow; #if defined( GLX_VERSION_1_3 ) && defined( GLX_EXT_texture_from_pixmap ) - if( mbHasTFPVisual ) - GLWin.fbc = fbconfigs[i]; + if( mbHasTFPVisual ) + GLWin.fbc = fbconfigs[i]; #endif GLWin.vi = vi; GLWin.GLXExtensions = unx::glXQueryExtensionsString( GLWin.dpy, GLWin.screen ); @@ -884,8 +884,10 @@ void OGLTransitionerImpl::impl_prepareSlides() // TODO #ifdef UNX if(GLWin.ctx)//if we have a rendering context, let's init the slides -#endif + GLInitSlides(); +#else GLInitSlides(); +#endif SAL_WARN_IF(SlideBitmapLayout.PlaneStride != 0, "slideshow.opengl","only handle no plane stride now"); |