Fix Apple Snow Leopard build

remove 'ComputeBounds', it isn't used and OpenCL compilation breaks Apple build
This commit is contained in:
erwin.coumans
2011-03-15 20:30:23 +00:00
parent 25b4d8da0b
commit 6a2a72d987
6 changed files with 12 additions and 163 deletions

View File

@@ -16,12 +16,16 @@ subject to the following restrictions:
#ifdef _WIN32
#include <GL/glew.h>
#endif
#ifndef __APPLE__
#ifndef USE_MINICL
#define USE_SIMDAWARE_SOLVER
#define USE_GPU_SOLVER
#define USE_GPU_COPY
#ifdef _WIN32
#define USE_GPU_COPY //only tested on Windows, may work under Linux
#endif //_WIN32
#endif //USE_MINICL
#endif
@@ -550,7 +554,9 @@ int main(int argc, char *argv[])
preInitGL(argc, argv);
#ifdef _WIN32
glewInit();
#endif
#ifdef USE_GPU_COPY
#ifdef _WIN32