tuxracer/tuxracer-0.60.1-GL.patch

14 lines
502 B
Diff

--- tuxracer-0.60.1/src/gl_util.h.GL Tue Oct 3 09:34:14 2000
+++ tuxracer-0.60.1/src/gl_util.h Mon Oct 9 06:23:38 2000
@@ -51,6 +51,10 @@
* count on that... */
#include <GL/glext.h>
+#ifdef GL_GLEXT_VERSION_EXT
+#define GL_GLEXT_VERSION GL_GLEXT_VERSION_EXT
+#endif
+
#if !defined(GL_GLEXT_VERSION) || GL_GLEXT_VERSION < 6
# error "*** You need a more recent copy of glext.h. You can get one at http://oss.sgi.com/projects/ogl-sample/ABI/glext.h ; it goes in /usr/include/GL. ***"
#endif