cl_gl_ext.hpp 743 B

12345678910111213141516171819202122
  1. //---------------------------------------------------------------------------//
  2. // Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
  3. //
  4. // Distributed under the Boost Software License, Version 1.0
  5. // See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt
  7. //
  8. // See http://boostorg.github.com/compute for more information.
  9. //---------------------------------------------------------------------------//
  10. #ifndef BOOST_COMPUTE_INTEROP_OPENGL_CL_GL_EXT_HPP
  11. #define BOOST_COMPUTE_INTEROP_OPENGL_CL_GL_EXT_HPP
  12. #include <boost/compute/detail/cl_versions.hpp>
  13. #if defined(__APPLE__)
  14. #include <OpenCL/cl_gl_ext.h>
  15. #else
  16. #include <CL/cl_gl_ext.h>
  17. #endif
  18. #endif // BOOST_COMPUTE_INTEROP_OPENGL_CL_GL_EXT_HPP