diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-08-27 16:21:11 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-08-31 07:45:50 -0700 |
commit | 6f3cc08ec01609c7efe424ac3e30fe4ff9391007 (patch) | |
tree | b69dcdd0f3c24dd4e521da70648ff9f9fcc81a5a | |
parent | fdb29ebeed143fa05630966b847b05399a446ddc (diff) |
XQuartz: GL: Unset GL_EXT_gpu_program_parameters for Tiger/ppc
See http://trac.macports.org/ticket/20638
(cherry picked from commit 0f3a89d306838b3c75a73cd1e9e2928737222b70)
-rw-r--r-- | hw/xquartz/GL/indirect.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <GL/glxproto.h> #include <windowstr.h> #include <resource.h> |