tavli
view src/opengl.h @ 24:0aadb519b5ee
correct highlighting
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 08 Jul 2015 15:11:58 +0300 |
parents | 986c0b76513f |
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_ */