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

New commits:
commit dc3fca848373a321ea438d75468ccb62e4abb9d1
Author: Stephan Bergmann <sberg...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to