diff options
author | wm4 <wm4@nowhere> | 2015-11-09 16:24:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-09 16:24:01 +0100 |
commit | eeb5f987585b47b2d5828cac0f2d90e0c503ce4c (patch) | |
tree | 5b359aa42f70f15811d74272af735fb3f127df27 /video/out/opengl/utils.h | |
parent | caa497ee8af7ceab2a1e0a1df4e06ff467e5fd1d (diff) | |
download | mpv-eeb5f987585b47b2d5828cac0f2d90e0c503ce4c.tar.bz2 mpv-eeb5f987585b47b2d5828cac0f2d90e0c503ce4c.tar.xz |
vo_opengl: handle GL_ARB_uniform_buffer_object with low GLSL versions
Why is this stupid crap being so much a pain for no reason.
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r-- | video/out/opengl/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h index fa76ee85a8..8808157376 100644 --- a/video/out/opengl/utils.h +++ b/video/out/opengl/utils.h @@ -142,6 +142,7 @@ void gl_sc_uniform_mat3(struct gl_shader_cache *sc, char *name, void gl_sc_uniform_buffer(struct gl_shader_cache *sc, char *name, const char *text, int binding); void gl_sc_set_vao(struct gl_shader_cache *sc, struct gl_vao *vao); +void gl_sc_enable_extension(struct gl_shader_cache *sc, char *name); void gl_sc_gen_shader_and_reset(struct gl_shader_cache *sc); void gl_sc_reset(struct gl_shader_cache *sc); |