diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c index d6dac42195..8c52b61cba 100644 --- a/video/out/opengl/utils.c +++ b/video/out/opengl/utils.c @@ -759,6 +759,8 @@ static const char *mp_image2D_type(GLenum access) void gl_sc_uniform_image2D(struct gl_shader_cache *sc, char *name, GLuint texture, GLuint iformat, GLenum access) { + gl_sc_enable_extension(sc, "GL_ARB_shader_image_load_store"); + struct sc_uniform *u = find_uniform(sc, name); u->type = UT_i; u->size = 1; |