dbf-halloween2015

diff src/opengl.h @ 0:50683c78264e

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 01 Nov 2015 00:09:12 +0200
parents
children c37fe5d8a4ed
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/opengl.h	Sun Nov 01 00:09:12 2015 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +#ifndef OPENGL_H_
     1.5 +#define OPENGL_H_
     1.6 +
     1.7 +#include <GL/glew.h>
     1.8 +
     1.9 +struct GLCaps {
    1.10 +	int shaders;
    1.11 +	int fsaa;
    1.12 +	int sep_spec;
    1.13 +	int fbo;
    1.14 +	int shadow;
    1.15 +};
    1.16 +extern struct GLCaps glcaps;
    1.17 +
    1.18 +#ifdef __cplusplus
    1.19 +extern "C" {
    1.20 +#endif
    1.21 +
    1.22 +int init_opengl();
    1.23 +
    1.24 +#ifdef __cplusplus
    1.25 +}
    1.26 +#endif
    1.27 +
    1.28 +#endif	/* OPENGL_H_ */