showfps requires both GL and RENDER compositing, and is disabled in CMakeLists unless you have both; reflect this in the rest of the code as well.

svn path=/trunk/KDE/kdebase/workspace/; revision=790175
This commit is contained in:
Adriaan de Groot 2008-03-26 00:55:39 +00:00
parent 901eb7627a
commit bd5fd7bb84

View file

@ -70,12 +70,17 @@ KWIN_EFFECT_CONFIG_FACTORY
registerPlugin<KWin::SharpenEffectConfig>("sharpen"); \
registerPlugin<KWin::SnowEffectConfig>("snow"); \
registerPlugin<KWin::TrackMouseEffectConfig>("trackmouse"); \
#define GL_RENDER_PLUGINS \
registerPlugin<KWin::ShowFpsEffectConfig> ("showfps"); \
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,
NON_GL_PLUGINS
GL_PLUGINS
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
GL_RENDER_PLUGINS
#endif
)
#else
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,