summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r--video/out/opengl/utils.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h
index 7a5606871f..1ae2f0f330 100644
--- a/video/out/opengl/utils.h
+++ b/video/out/opengl/utils.h
@@ -48,21 +48,6 @@ struct gl_vao_entry {
int offset;
};
-struct gl_vao {
- GL *gl;
- GLuint vao; // the VAO object, or 0 if unsupported by driver
- GLuint buffer; // GL_ARRAY_BUFFER used for the data
- int stride; // size of each element (interleaved elements are assumed)
- const struct gl_vao_entry *entries;
-};
-
-void gl_vao_init(struct gl_vao *vao, GL *gl, int stride,
- const struct gl_vao_entry *entries);
-void gl_vao_uninit(struct gl_vao *vao);
-void gl_vao_bind(struct gl_vao *vao);
-void gl_vao_unbind(struct gl_vao *vao);
-void gl_vao_draw_data(struct gl_vao *vao, GLenum prim, void *ptr, size_t num);
-
struct fbotex {
GL *gl;
GLuint fbo;
@@ -165,7 +150,6 @@ void gl_sc_uniform_mat2(struct gl_shader_cache *sc, char *name,
bool transpose, GLfloat *v);
void gl_sc_uniform_mat3(struct gl_shader_cache *sc, char *name,
bool transpose, GLfloat *v);
-void gl_sc_set_vao(struct gl_shader_cache *sc, struct gl_vao *vao);
void gl_sc_set_vertex_format(struct gl_shader_cache *sc,
const struct gl_vao_entry *entries,
size_t vertex_size);