summaryrefslogtreecommitdiffstats
path: root/resources/includes/CL/cl_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'resources/includes/CL/cl_gl.h')
-rw-r--r--resources/includes/CL/cl_gl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/includes/CL/cl_gl.h b/resources/includes/CL/cl_gl.h
index d4c427cd..d4a6e4f8 100644
--- a/resources/includes/CL/cl_gl.h
+++ b/resources/includes/CL/cl_gl.h
@@ -21,15 +21,17 @@
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
**********************************************************************************/
-/* $Revision: 8407 $ on $Date: 2009-06-12 10:56:38 -0700 (Fri, 12 Jun 2009) $ */
+/* $Revision: 8748 $ on $Date: 2009-08-27 04:24:36 -0700 (Thu, 27 Aug 2009) $ */
#ifndef __OPENCL_CL_GL_H
#define __OPENCL_CL_GL_H
#ifdef __APPLE__
#include <OpenCL/cl_platform.h>
+#include <OpenGL/gl.h>
#else
#include <CL/cl_platform.h>
+#include <GL/gl.h>
#endif
#ifdef __cplusplus
@@ -112,4 +114,4 @@ clEnqueueReleaseGLObjects(cl_command_queue /* command_queue */,
}
#endif
-#endif // __OPENCL_CL_GL_H
+#endif // __OPENCL_CL_GL_H \ No newline at end of file