glDrawRangeElements in dbg_gui to shut the intel performance warnings up
[laserbrain_demo] / src / opengl.h
index 6ef1733..c342384 100644 (file)
@@ -5,6 +5,7 @@
 
 struct GLCaps {
        int debug;      /* ARB_debug_output */
+       int draw_range; /* EXT_draw_range_elements */
 };
 
 extern struct GLCaps glcaps;
@@ -15,6 +16,8 @@ extern "C" {
 
 int init_opengl(void);
 
+void dump_gl_texture(unsigned int tex, const char *fname);
+
 #ifdef __cplusplus
 }
 #endif