ld33_umonster

diff src/opengl.h @ 0:4a6683050e29

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