X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fopengl.h;h=51d365a69d8d5c141f8ca5946406d2f72a7086c4;hp=deeddd3392dc27c597ef5c9e92bc0d1b33043c58;hb=844f36f03073c5db86a8acd2cf7cd1a89e1a16b9;hpb=ae60a8cb1a30e204e7f60969fe6245e510cca0ff diff --git a/src/opengl.h b/src/opengl.h index deeddd3..51d365a 100644 --- a/src/opengl.h +++ b/src/opengl.h @@ -3,4 +3,22 @@ #include -#endif // OPENGL_H_ +struct GLCaps { + int debug; /* ARB_debug_output */ +}; + +extern struct GLCaps glcaps; + +#ifdef __cplusplus +extern "C" { +#endif + +int init_opengl(void); + +void dump_gl_texture(unsigned int tex, const char *fname); + +#ifdef __cplusplus +} +#endif + +#endif /* OPENGL_H_ */