cubemapper

view src/opengl.h @ 2:e308561f9889

correct cubemap export and visualization
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 28 Jul 2017 13:24:34 +0300
parents
children 2bfafdced01a
line source
1 #ifndef OPENGL_H_
2 #define OPENGL_H_
4 #ifdef WIN32
5 #include <windows.h>
6 #endif
8 #include <GL/glew.h>
10 #ifdef __APPLE__
11 #include <OpenGL/gl.h>
12 #else
13 #define GL_GLEXT_PROTOTYPES 1
14 #include <GL/gl.h>
15 #include <GL/glu.h>
16 #endif
18 bool init_opengl();
20 #endif // OPENGL_H_