tavli

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