cubemapper

view src/opengl.h @ 0:8fc9e1d3aad2

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 27 Jul 2017 20:36:12 +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_