From 0f3a89d306838b3c75a73cd1e9e2928737222b70 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 27 Aug 2009 16:21:11 -0700 Subject: [PATCH] XQuartz: GL: Unset GL_EXT_gpu_program_parameters for Tiger/ppc See http://trac.macports.org/ticket/20638 --- hw/xquartz/GL/indirect.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hw/xquartz/GL/indirect.c b/hw/xquartz/GL/indirect.c index d66baca40..f9d69f74e 100644 --- a/hw/xquartz/GL/indirect.c +++ b/hw/xquartz/GL/indirect.c @@ -117,6 +117,14 @@ #define GL_EXT_vertex_array 0 #endif +/* Tiger PPC doesn't have the associated symbols, but glext.h says it does. Liars! + * http://trac.macports.org/ticket/20638 + */ +#if defined(__ppc__) && MAC_OS_X_VERSION_MIN_REQUIRED == 1040 +#undef GL_EXT_gpu_program_parameters +#define GL_EXT_gpu_program_parameters 0 +#endif + #include #include #include