Sceneview
 All Classes Functions Variables Enumerations Enumerator Groups Pages
internal_gl.hpp
1 // Copyright [2015] Albert Huang
2 
3 #ifndef INTERNAL_GL_H__
4 #define INTERNAL_GL_H__
5 
6 #ifdef __APPLE__
7 #include <OpenGL/gl.h>
8 #else
9 #define GL_GLEXT_PROTOTYPES 1
10 #include <GL/gl.h>
11 #include <GL/glext.h>
12 #endif
13 
14 #include <string>
15 
16 namespace sv {
17 
18 const char* glErrorString(GLenum error);
19 
20 }
21 
22 #endif // INTERNAL_GL_H__