From 9c2d6f8fdc8f04a47b0ac3dbb8bfc7f7b03ce7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 14 Aug 2011 08:59:51 +0200 Subject: [PATCH] Drop hacks for gcc-3.3.3 According to Thiago minimum supported gcc is 4.2. --- libkwineffects/kwinglutils_funcs.h | 32 ------------------------------ 1 file changed, 32 deletions(-) diff --git a/libkwineffects/kwinglutils_funcs.h b/libkwineffects/kwinglutils_funcs.h index 03e4e17d48..45df4d5ff3 100644 --- a/libkwineffects/kwinglutils_funcs.h +++ b/libkwineffects/kwinglutils_funcs.h @@ -27,41 +27,9 @@ along with this program. If not, see . #ifndef KWIN_HAVE_OPENGLES -// gcc-3.3.3 apparently cannot resolve KWin's namespaced versions properly, -// so hide possible global functions -#define glXQueryDrawable kwinhide_glXQueryDrawable -#define glXGetFBConfigAttrib kwinhide_glXGetFBConfigAttrib -#define glXGetVisualFromFBConfig kwinhide_glXGetVisualFromFBConfig -#define glXDestroyWindow kwinhide_glXDestroyWindow -#define glXDestroyPixmap kwinhide_glXDestroyPixmap -#define glXCreateWindow kwinhide_glXCreateWindow -#define glXCreatePixmap kwinhide_glXCreatePixmap -#define glXGetFBConfigs kwinhide_glXGetFBConfigs -#define glXGetProcAddress kwinhide_glXGetProcAddress -#define glXReleaseTexImageEXT kwinhide_glXReleaseTexImageEXT -#define glXBindTexImageEXT kwinhide_glXBindTexImageEXT -#define glXCopySubBuffer kwinhide_glXCopySubBuffer -#define glXGetVideoSync kwinhide_glXGetVideoSync -#define glXWaitVideoSync kwinhide_glXWaitVideoSync - #include #include -#undef glXQueryDrawable -#undef glXGetFBConfigAttrib -#undef glXGetVisualFromFBConfig -#undef glXDestroyWindow -#undef glXDestroyPixmap -#undef glXCreateWindow -#undef glXCreatePixmap -#undef glXGetFBConfigs -#undef glXGetProcAddress -#undef glXReleaseTexImageEXT -#undef glXBindTexImageEXT -#undef glXCopySubBuffer -#undef glXGetVideoSync -#undef glXWaitVideoSync - #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 #endif