Commit f04347d26698c8a5f0a3123bdc0abe14fbc07a8e

henry 2001-10-25T02:14:56

Changed include to allow for bloody Apple's new OpenGL on OSX

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/include/FTGL.h b/include/FTGL.h
index 5d554d8..3da27b0 100755
--- a/include/FTGL.h
+++ b/include/FTGL.h
@@ -14,7 +14,11 @@
 
     // non windows, doesn't require nonesense as seen below :-)    
     #ifndef __gl_h_
-        #include <GL/gl.h>
+        #ifdef __APPLE_CC__
+            #include <OpenGL/gl.h>
+        #else
+	    	#include <GL/gl.h>
+		#endif
     #endif
 
     // required for compatibility with glext.h style function definitions of