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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user