glDrawRangeElements in dbg_gui to shut the intel performance warnings up
[laserbrain_demo] / src / opengl.h
index deeddd3..c342384 100644 (file)
@@ -3,4 +3,23 @@
 
 #include <GL/glew.h>
 
-#endif // OPENGL_H_
+struct GLCaps {
+       int debug;      /* ARB_debug_output */
+       int draw_range; /* EXT_draw_range_elements */
+};
+
+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_ */