[Libreoffice-commits] core.git: slideshow/source
Stephan Bergmann
sbergman at redhat.com
Fri Oct 30 05:25:52 PDT 2015
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dc3fca848373a321ea438d75468ccb62e4abb9d1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Oct 30 13:24:59 2015 +0100
Mac fix
Change-Id: Ib44f84ae028a73dd1940797acdadaff1e3c206d9
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index 195e2a4..4dec125 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -329,8 +329,8 @@ void OGLTransitionerImpl::impl_initializeFlags( bool const bValidContext )
mnGLVersion = OpenGLHelper::getGLVersion();
SAL_INFO("slideshow.opengl", "GL version: " << mnGLVersion << "" );
- const GLubyte* vendor = glGetString( GL_VENDOR );
#if defined( UNX ) && !defined( MACOSX )
+ const GLubyte* vendor = glGetString( GL_VENDOR );
/* TODO: check for version once the bug in fglrx driver is fixed */
mbBrokenTexturesATI = (vendor && strcmp( reinterpret_cast<const char *>(vendor), "ATI Technologies Inc." ) == 0 );
#endif
More information about the Libreoffice-commits
mailing list