ld33_umonster
view src/opengl.h @ 2:35349df5392d
wtf?
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 22 Aug 2015 23:55:21 +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_ */