Explorar el Código

OSX OpenGL Stuff

Roger Hughston hace 20 años
padre
commit
524d41e92e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      dtool/Config.osx.pp
  2. 1 1
      dtool/Config.pp

+ 1 - 1
dtool/Config.osx.pp

@@ -8,7 +8,7 @@
 
 
 // What additional flags should we pass to interrogate?
 // What additional flags should we pass to interrogate?
 #define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const
 #define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const
-
+#define HAVE_GL 1
 #define IS_OSX 1
 #define IS_OSX 1
 
 
 // Is the platform big-endian (like an SGI workstation) or
 // Is the platform big-endian (like an SGI workstation) or

+ 1 - 1
dtool/Config.pp

@@ -482,7 +482,7 @@
   #define GL_LIBS opengl32.lib glu32.lib
   #define GL_LIBS opengl32.lib glu32.lib
 #elif $[OSX_PLATFORM]
 #elif $[OSX_PLATFORM]
   #defer GL_IPATH
   #defer GL_IPATH
-  #defer GL_LPATH
+  #defer GL_LPATH /System/Library/Frameworks/OpenGL.framework/Libraries/
   #defer GL_FRAMEWORK OpenGL
   #defer GL_FRAMEWORK OpenGL
   #defer GL_LIBS GL GLU
   #defer GL_LIBS GL GLU
 #else
 #else