summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c
index 588b6cddf8..fd27aac3d0 100644
--- a/video/out/opengl/utils.c
+++ b/video/out/opengl/utils.c
@@ -675,7 +675,7 @@ void gl_sc_uniform_sampler_ui(struct gl_shader_cache *sc, char *name, int unit)
struct sc_uniform *u = find_uniform(sc, name);
u->type = UT_i;
u->size = 1;
- u->glsl_type = "usampler2D";
+ u->glsl_type = sc->gl->es ? "highp usampler2D" : "usampler2D";
u->v.i[0] = unit;
}