diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-30 13:24:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-30 13:25:31 +0100 |
commit | dc3fca848373a321ea438d75468ccb62e4abb9d1 (patch) | |
tree | 4ea8a4251f421e1d1ed09694f2aced5093553591 /slideshow | |
parent | bee72ee6199950f9489ac4ed313db63586f2b742 (diff) |
Mac fix
Change-Id: Ib44f84ae028a73dd1940797acdadaff1e3c206d9
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 195e2a4b346f..4dec125f4430 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 |