[arrayfire] 309/408: Moved GL headers in platform.cpp inside WITH_GRAPHICS block

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 af598d1ea0cb04eedfe4e3250668a1965c413fa6
Author: pradeep <pradeep at arrayfire.com>
Date:   Fri Aug 21 17:38:03 2015 -0400

    Moved GL headers in platform.cpp inside WITH_GRAPHICS block
---
 src/backend/opencl/platform.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/backend/opencl/platform.cpp b/src/backend/opencl/platform.cpp
index c059a45..a04355a 100644
--- a/src/backend/opencl/platform.cpp
+++ b/src/backend/opencl/platform.cpp
@@ -10,8 +10,8 @@
 // Include this before af/opencl.h
 // Causes conflict between system cl.hpp and opencl/cl.hpp
 #if defined(WITH_GRAPHICS)
+
 #include <graphics_common.hpp>
-#endif
 
 #if defined(OS_MAC)
 #include <OpenGL/OpenGL.h>
@@ -20,6 +20,8 @@
 #include <GL/gl.h>
 #endif // !__APPLE__
 
+#endif
+
 #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