summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c
index c0bd07fb91..6c879fd535 100644
--- a/video/out/opengl/utils.c
+++ b/video/out/opengl/utils.c
@@ -1052,6 +1052,8 @@ void gl_sc_generate(struct gl_shader_cache *sc)
for (int n = 0; n < sc->num_uniforms; n++)
update_uniform(gl, entry, &sc->uniforms[n], n);
+ gl->ActiveTexture(GL_TEXTURE0);
+
sc->needs_reset = true;
}