Skip to content

Commit b1fe3fe

Browse files
committed
Make opengl processor compining on newer linux nvidia CL version
1 parent 3adda14 commit b1fe3fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/protonect/src/opencl_depth_packet_processor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
#ifdef __APPLE__
4343
#include <OpenCL/cl.hpp>
4444
#else
45+
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
46+
#include <CL/cl.h>
47+
#undef CL_VERSION_1_2
4548
#include <CL/cl.hpp>
4649
#endif
4750

0 commit comments

Comments
 (0)