Add option to use clew to manually open the OpenCL dynamic library

fix Linux build of App_Bullet3_OpenCL_Demos. Unfortunately the simulation doesn't work properly, need to fix it
(and add unit tests)
This commit is contained in:
erwincoumans
2013-05-20 17:58:19 -07:00
parent 453952f202
commit 29e70b2802
14 changed files with 2866 additions and 11 deletions

View File

@@ -16,6 +16,9 @@ subject to the following restrictions:
#ifndef B3_OPENCL_INCLUDE_H
#define B3_OPENCL_INCLUDE_H
#ifdef B3_USE_CLEW
#include "clew.h"
#else
#ifdef __APPLE__
#ifdef USE_MINICL
@@ -34,6 +37,7 @@ subject to the following restrictions:
#endif //_WIN32
#endif
#endif //__APPLE__
#endif //B3_USE_CLEW
#include <assert.h>
#include <stdio.h>