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
icc-effect-5.14.5
Adriaan de Groot 2008-06-14 12:43:37 +00:00
parent cda254530d
commit 2b96a2063e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <assert.h>
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
namespace KWin
{