mirror planes detection needs work
[laserbrain_demo] / src / opengl.h
index deeddd3..51d365a 100644 (file)
@@ -3,4 +3,22 @@
 
 #include <GL/glew.h>
 
-#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_ */