added workaround for OpenGL bug in Mac OS X 10.5.0 (Leopard)

added concave raycast demo
Thanks to John Rowe (JMC)
This commit is contained in:
ejcoumans
2007-12-05 20:34:32 +00:00
parent a64cc39faf
commit d2973ed48a
5 changed files with 3891 additions and 3365 deletions

View File

@@ -112,6 +112,8 @@ AC_DEFUN([CS_CHECK_OPENGL],
# MacOS/X or Darwin?
AS_IF([test "x$cs_host_macosx" = "xyes"],
[cs_osx_gl=CS_CREATE_TUPLE([-DCS_OPENGL_PATH=OpenGL],[],[-framework OpenGL])])
AS_IF([test "x$cs_host_macosx" = "xyes"],
[cs_gl_plat_lflags="$cs_plat_lflags -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"])
# Windows?
AS_IF([test $cs_host_family = windows],