dbf_amiga

diff src/opengl.h @ 0:87dfe0e10235

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 31 Aug 2015 07:38:37 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/opengl.h	Mon Aug 31 07:38:37 2015 +0300
     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_ */