From 2175722fe9a53fd9b856af3af0a57b8de6d531e7 Mon Sep 17 00:00:00 2001 From: Christoph Thielecke Date: Sat, 9 Oct 2010 13:53:50 +0000 Subject: [PATCH] added missing define if nessary (compile fix for lenny) svn path=/trunk/KDE/kdebase/workspace/; revision=1184229 --- lib/kwinglutils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/kwinglutils.cpp b/lib/kwinglutils.cpp index 67602018e1..bb10d5c600 100644 --- a/lib/kwinglutils.cpp +++ b/lib/kwinglutils.cpp @@ -21,7 +21,6 @@ along with this program. If not, see . #include "kwinglutils.h" #ifdef KWIN_HAVE_OPENGL - #include "kwinglobals.h" #include "kwineffects.h" @@ -38,6 +37,9 @@ along with this program. If not, see . #define MAKE_GL_VERSION(major, minor, release) ( ((major) << 16) | ((minor) << 8) | (release) ) +#ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#endif namespace KWin {