some compile fixes for MacOSX

This commit is contained in:
erwin.coumans
2011-09-14 18:48:23 +00:00
parent d1eec5f5bb
commit 9abcd9cf2e
7 changed files with 8 additions and 30 deletions

View File

@@ -42,7 +42,7 @@ void initCL( void* glCtx, void* glDC )
cl_device_type deviceType = CL_DEVICE_TYPE_GPU;
#else
#ifdef __APPLE__
cl_device_type deviceType = CL_DEVICE_TYPE_GPU;
cl_device_type deviceType = CL_DEVICE_TYPE_ALL;//GPU;
#else
cl_device_type deviceType = CL_DEVICE_TYPE_CPU;//CL_DEVICE_TYPE_ALL
#endif//__APPLE__