tavli

view src/opengl.h @ 18:986c0b76513f

shadows, not completed
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 29 Jun 2015 01:29:36 +0300
parents d6209903454b
children 37dead56f01e
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 };
12 extern struct GLCaps glcaps;
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 int init_opengl();
20 #ifdef __cplusplus
21 }
22 #endif
24 #endif /* OPENGL_H_ */