Viskores  1.0
interop/internal/OpenGLHeaders.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_interop_internal_OpenGLHeaders_h
19 #define viskores_interop_internal_OpenGLHeaders_h
20 
22 
23 #if defined(__APPLE__)
24 
25 #include <OpenGL/gl.h>
26 #else
27 #include <GL/gl.h>
28 #endif
29 
30 #ifdef VISKORES_CUDA
31 #include <cuda_runtime.h>
32 
33 #include <cuda_gl_interop.h>
34 #endif
35 
36 #endif //viskores_interop_internal_OpenGLHeaders_h
ExportMacros.h