summaryrefslogtreecommitdiff
path: root/boost/compute/interop/opengl/gl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/interop/opengl/gl.hpp')
-rw-r--r--boost/compute/interop/opengl/gl.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/boost/compute/interop/opengl/gl.hpp b/boost/compute/interop/opengl/gl.hpp
new file mode 100644
index 0000000000..a05c944075
--- /dev/null
+++ b/boost/compute/interop/opengl/gl.hpp
@@ -0,0 +1,20 @@
+//---------------------------------------------------------------------------//
+// Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
+//
+// Distributed under the Boost Software License, Version 1.0
+// See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt
+//
+// See http://boostorg.github.com/compute for more information.
+//---------------------------------------------------------------------------//
+
+#ifndef BOOST_COMPUTE_INTEROP_OPENGL_GL_HPP
+#define BOOST_COMPUTE_INTEROP_OPENGL_GL_HPP
+
+#if defined(__APPLE__)
+#include <OpenGL/gl.h>
+#else
+#include <GL/gl.h>
+#endif
+
+#endif // BOOST_COMPUTE_INTEROP_OPENGL_GL_HPP