only use VBO's and USE_GPU_COPY -> OpenCL/OpenGL interop under Windows, so that stuff compiles/runs on Mac OSX and Linux

See Issue 495
This commit is contained in:
erwin.coumans
2011-03-19 19:45:24 +00:00
parent f17fa297d5
commit 72f88856cd
2 changed files with 29 additions and 17 deletions

View File

@@ -17,11 +17,12 @@ subject to the following restrictions:
#include <GL/glew.h>
#endif
#ifndef USE_MINICL
#define USE_SIMDAWARE_SOLVER
#define USE_GPU_SOLVER
#ifdef _WIN32
#define USE_GPU_COPY //only tested on Windows, may work under Linux
#if defined (_WIN32)
#define USE_GPU_COPY //only tested on Windows
#endif //_WIN32
#endif //USE_MINICL