dbf-halloween2015
annotate src/opengl.h @ 1:c3f5c32cb210
barfed all the libraries in the source tree to make porting easier
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 00:36:56 +0200 |
parents | |
children | c37fe5d8a4ed |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef OPENGL_H_ |
nuclear@0 | 2 #define OPENGL_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <GL/glew.h> |
nuclear@0 | 5 |
nuclear@0 | 6 struct GLCaps { |
nuclear@0 | 7 int shaders; |
nuclear@0 | 8 int fsaa; |
nuclear@0 | 9 int sep_spec; |
nuclear@0 | 10 int fbo; |
nuclear@0 | 11 int shadow; |
nuclear@0 | 12 }; |
nuclear@0 | 13 extern struct GLCaps glcaps; |
nuclear@0 | 14 |
nuclear@0 | 15 #ifdef __cplusplus |
nuclear@0 | 16 extern "C" { |
nuclear@0 | 17 #endif |
nuclear@0 | 18 |
nuclear@0 | 19 int init_opengl(); |
nuclear@0 | 20 |
nuclear@0 | 21 #ifdef __cplusplus |
nuclear@0 | 22 } |
nuclear@0 | 23 #endif |
nuclear@0 | 24 |
nuclear@0 | 25 #endif /* OPENGL_H_ */ |