cubemapper
view src/opengl.h @ 1:d7a29cb7ac8d
resize to the final cubemap face size
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 28 Jul 2017 07:44:35 +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_