summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-10-30 13:40:56 +0200
committerTor Lillqvist <tml@collabora.com>2015-10-30 13:42:47 +0200
commit76cfcea67284c246e04efce836327ec0dd2bfb66 (patch)
tree2f53bdcc77d6de719a9a864d424ca7d2bfa2db88
parentecef9cb66c5f6009c7b062b489f93de85b70beeb (diff)
The fglrx driver is an X11 only thing
It means "FireGL and Radeon for X". Change-Id: I188fa03a113d9977a7a240bc0fc9f6dc9be054b8
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index e386a0888c3b..195e2a4b346f 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -330,9 +330,10 @@ void OGLTransitionerImpl::impl_initializeFlags( bool const bValidContext )
SAL_INFO("slideshow.opengl", "GL version: " << mnGLVersion << "" );
const GLubyte* vendor = glGetString( GL_VENDOR );
-
+#if defined( UNX ) && !defined( MACOSX )
/* 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
}
CHECK_GL_ERROR();
}