ld33_umonster

view src/opengl.h @ 0:4a6683050e29

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 22 Aug 2015 07:15:00 +0300
parents
children
line source
1 #ifndef OPENGL_H_
2 #define OPENGL_H_
4 #include <GL/glew.h>
6 struct GLCaps {
7 int shaders;
8 int fsaa;
9 int sep_spec;
10 int fbo;
11 int shadow;
12 };
13 extern struct GLCaps glcaps;
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 int init_opengl();
21 #ifdef __cplusplus
22 }
23 #endif
25 #endif /* OPENGL_H_ */