From 2b96a2063eb1fbaaaa089a62a012f2c87d82736b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sat, 14 Jun 2008 12:43:37 +0000 Subject: [PATCH] The guard in the .h file is for XRENDER. So if there is no xrender but there is opengl (which is the case with Xorg 6.9 on Solaris, at least) then the .h file doesn't declare Shader, but the .cpp file tries to define it. svn path=/trunk/KDE/kdebase/workspace/; revision=820474 --- lib/kwinshadereffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kwinshadereffect.cpp b/lib/kwinshadereffect.cpp index f6f5583f05..5fbb7d1c7f 100644 --- a/lib/kwinshadereffect.cpp +++ b/lib/kwinshadereffect.cpp @@ -27,7 +27,7 @@ along with this program. If not, see . #include -#ifdef KWIN_HAVE_OPENGL_COMPOSITING +#ifdef KWIN_HAVE_XRENDER_COMPOSITING namespace KWin {