tavli
view src/opengl.h @ 16:d6209903454b
opengl capabilities
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 28 Jun 2015 08:48:25 +0300 |
parents | 52e0dd47753b |
children | 986c0b76513f |
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 };
11 extern struct GLCaps glcaps;
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 int init_opengl();
19 #ifdef __cplusplus
20 }
21 #endif
23 #endif /* OPENGL_H_ */