[arrayfire] 308/408: adding GL headers in platform.cpp
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:12:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit 7b759ce50191e63a0041d253b01da3948ebaec74
Author: pradeep <pradeep at arrayfire.com>
Date: Fri Aug 21 17:18:52 2015 -0400
adding GL headers in platform.cpp
---
src/backend/opencl/platform.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/backend/opencl/platform.cpp b/src/backend/opencl/platform.cpp
index d66fb2e..c059a45 100644
--- a/src/backend/opencl/platform.cpp
+++ b/src/backend/opencl/platform.cpp
@@ -12,6 +12,14 @@
#if defined(WITH_GRAPHICS)
#include <graphics_common.hpp>
#endif
+
+#if defined(OS_MAC)
+#include <OpenGL/OpenGL.h>
+#include <libkern/OSAtomic.h>
+#else
+#include <GL/gl.h>
+#endif // !__APPLE__
+
#include <cl.hpp>
#include <af/version.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list