dbf-halloween2015

view src/opengl.h @ 0:50683c78264e

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 01 Nov 2015 00:09:12 +0200
parents
children c37fe5d8a4ed
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_ */