Fix render check.

svn path=/trunk/KDE/kdebase/workspace/; revision=758642
This commit is contained in:
Luboš Luňák 2008-01-08 16:28:43 +00:00
parent f7c52e116b
commit 4b33f1babc

View file

@ -91,7 +91,7 @@ QString CompositingPrefs::compositingNotPossibleReason()
if( !Extensions::glxAvailable())
return i18n( "GLX/OpenGL are not available and only OpenGL support is compiled." );
#elif !defined( KWIN_HAVE_OPENGL_COMPOSITING ) && defined( KWIN_HAVE_XRENDER_COMPOSITING )
if( !Extensions::glxAvailable())
if( !( Extensions::renderAvailable() && Extensions::fixesAvailable()))
return i18n( "XRender/XFixes extensions are not available and only XRender support"
" is compiled." );
#else