summaryrefslogtreecommitdiff
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-02-01 23:08:02 (GMT)
committer Jeremy Huddleston <jeremyhu@freedesktop.org>2009-02-01 23:12:50 (GMT)
commitfd08be749e0b3c5de02a6ae8b3d21f92c5986157 (patch) (side-by-side diff)
tree27dec1e3be3febc1c90e5cdcc862b7f296d6d6f7
parentd4414649f23c75cc6013e22088571fef9df2e973 (diff)
downloadxserver-fd08be749e0b3c5de02a6ae8b3d21f92c5986157.zip
xserver-fd08be749e0b3c5de02a6ae8b3d21f92c5986157.tar.gz
XQuartz: GLX: OpenGL.framework on Tiger doesn't have glBlitFramebufferEXT
(cherry picked from commit e01662cadcaa4052e3a5aa82cbaed00a2d0220e0)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--hw/xquartz/GL/indirect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xquartz/GL/indirect.c b/hw/xquartz/GL/indirect.c
index 01cf0c6..687d531 100644
--- a/hw/xquartz/GL/indirect.c
+++ b/hw/xquartz/GL/indirect.c
@@ -855,7 +855,9 @@ static void setup_dispatch_table(void) {
SET_BlendEquationSeparateEXT(disp, glBlendEquationSeparateEXT);
SET_BlendFunc(disp, glBlendFunc);
SET_BlendFuncSeparateEXT(disp, glBlendFuncSeparateEXT);
+#if MAC_OS_X_VERSION_MIN_REQUIRED > 1050
SET_BlitFramebufferEXT(disp, glBlitFramebufferEXT);
+#endif
SET_BufferDataARB(disp, glBufferDataARB);
SET_BufferSubDataARB(disp, glBufferSubDataARB);
SET_CallList(disp, glCallList);