GameKit  0.0.1a
C++ gamedev tools
OpenGL.hpp
Go to the documentation of this file.
1 /*
2  * =====================================================================================
3  *
4  * Filename: OpenGL.hpp
5  *
6  * Description:
7  *
8  * Created: 15/12/2014 04:18:34
9  *
10  * Author: Quentin Bazin, <quent42340@gmail.com>
11  *
12  * =====================================================================================
13  */
14 #ifndef GK_OPENGL_HPP_
15 #define GK_OPENGL_HPP_
16 
17 #define GL_GLEXT_PROTOTYPES
18 #define GL3_PROTOTYPES 1
19 
20 #ifdef __APPLE__
21  #include <OpenGL/gl.h>
22 #else
23  #ifdef __MINGW32__
24  #ifdef USE_GLAD
25  #include <GLAD/glad.h>
26  #else
27  #include <GL/glew.h>
28  #endif
29  #else
30  #include <GL/gl.h>
31  #endif
32 #endif
33 
34 #endif // GK_OPENGL_HPP_