public
Created

freeglut patch MacOS10.7 later use gl3.h not gl.h.

  • Download Gist
freeglut-2.8.1-macos10.7.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12
diff -ur org/freeglut-2.8.1/include/GL/freeglut_std.h freeglut-2.8.1/include/GL/freeglut_std.h
--- org/freeglut-2.8.1/include/GL/freeglut_std.h 2012-11-19 21:45:34.000000000 +0900
+++ freeglut-2.8.1/include/GL/freeglut_std.h 2013-06-26 22:02:57.000000000 +0900
@@ -122,7 +122,7 @@
* Always include OpenGL and GLU headers
*/
#if __APPLE__
-# include <OpenGL/gl.h>
+# include <OpenGL/gl3.h>
# include <OpenGL/glu.h>
#else
# include <GL/gl.h>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.