Skip to content

Commit

Permalink
Fix incorrect preprocessor macro for mac os x
Browse files Browse the repository at this point in the history
  • Loading branch information
smistad committed Oct 19, 2015
1 parent 5d50f5a commit 874373f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openCLGLUtilities.cpp
Expand Up @@ -50,7 +50,7 @@ cl::Context createCLGLContext(cl_device_type type, cl_vendor vendor) {

// If more than one CL device find out which one is associated with GL context
if(devices.size() > 1) {
#if !(defined(__APPLE__) || !defined(__MACOSX))
#if !(defined(__APPLE__) || defined(__MACOSX))
cl::Device interopDevice = getValidGLCLInteropDevice(platform, cps);
singleDevice.push_back(interopDevice);
context = cl::Context(singleDevice, cps);
Expand Down

0 comments on commit 874373f

Please sign in to comment.