better logging and OpenGL ARB_debug_output
[laserbrain_demo] / src / opengl.h
index deeddd3..6ef1733 100644 (file)
@@ -3,4 +3,20 @@
 
 #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);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OPENGL_H_ */