Make debug output say that compositing is not available also

if opengl/xrender weren't found at compile time.


svn path=/trunk/KDE/kdebase/workspace/; revision=739692
This commit is contained in:
Luboš Luňák 2007-11-21 15:46:58 +00:00
parent dea2e71d4c
commit 5c9fd52311

View file

@ -127,7 +127,12 @@ void Workspace::setupCompositing()
break; break;
#endif #endif
default: default:
// this is the inverse of the two above tests, to have a different message
#if !(defined(HAVE_OPENGL) || (defined(HAVE_XRENDER) && defined(HAVE_XFIXES)))
kDebug( 1212 ) << "Compositing was not available at compile time";
#else
kDebug( 1212 ) << "No compositing"; kDebug( 1212 ) << "No compositing";
#endif
delete cm_selection; delete cm_selection;
return; return;
} }