[Xquartz-changes] [401] AppleSGLX/trunk/apple_glx_context.c

source_changes at macosforge.org source_changes at macosforge.org
Sun Jan 3 06:04:32 PST 2010


Revision: 401
          http://trac.macosforge.org/projects/xquartz/changeset/401
Author:   jeremyhu at freedesktop.org
Date:     2010-01-03 06:04:28 -0800 (Sun, 03 Jan 2010)
Log Message:
-----------
Include our gl.h and glext.h before OpenGL.framework.

Modified Paths:
--------------
    AppleSGLX/trunk/apple_glx_context.c

Modified: AppleSGLX/trunk/apple_glx_context.c
===================================================================
--- AppleSGLX/trunk/apple_glx_context.c	2009-12-30 06:22:56 UTC (rev 400)
+++ AppleSGLX/trunk/apple_glx_context.c	2010-01-03 14:04:28 UTC (rev 401)
@@ -38,6 +38,10 @@
 #include <sys/mman.h>
 #include <unistd.h>
 
+// Get the newer glext.h first
+#include <GL/gl.h>
+#include <GL/glext.h>
+
 #include <OpenGL/CGLTypes.h>
 #include <OpenGL/CGLCurrent.h>
 #include <OpenGL/OpenGL.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20100103/39b2dd91/attachment.html>


More information about the Xquartz-changes mailing list