tavli

annotate 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
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@16 6 struct GLCaps {
nuclear@16 7 int shaders;
nuclear@16 8 int fsaa;
nuclear@16 9 int sep_spec;
nuclear@18 10 int fbo;
nuclear@19 11 int shadow;
nuclear@16 12 };
nuclear@16 13 extern struct GLCaps glcaps;
nuclear@16 14
nuclear@16 15 #ifdef __cplusplus
nuclear@16 16 extern "C" {
nuclear@16 17 #endif
nuclear@16 18
nuclear@16 19 int init_opengl();
nuclear@16 20
nuclear@16 21 #ifdef __cplusplus
nuclear@16 22 }
nuclear@16 23 #endif
nuclear@16 24
nuclear@0 25 #endif /* OPENGL_H_ */