#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_ */