Debian Codegraph @

avogadro/rendering/avogadrogl.h

raw
1 /******************************************************************************
2 This source file is part of the Avogadro project.
3 This source code is released under the 3-Clause BSD License, (see "LICENSE").
4 ******************************************************************************/
5
6 #ifndef AVOGADRO_RENDERING_AVOGADROGL_H
7 #define AVOGADRO_RENDERING_AVOGADROGL_H
8
9 /**
10 * GLEW should always be in the same place, but Apple likes to move gl.h.
11 * This header should be used instead of including the GL headers directly
12 * in order to work around different layouts.
13 */
14
15 #include <GL/glew.h>
16
17 #ifdef __APPLE__
18 #include <OpenGL/gl.h>
19 #else
20 #include <GL/gl.h>
21 #endif
22
23 #endif // AVOGADRO_RENDERING_AVOGADROGL_H