aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/renderer.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-15 15:48:09 +0100
committeremersion <contact@emersion.fr>2018-03-15 15:48:09 +0100
commit8b58e1a3ad45f3e791a15b070d5544f3fc4e6a7e (patch)
treeb97fdf2deb525a5bc919bac3e410a905b0ef4821 /render/gles2/renderer.c
parent824a95ad19062e867178593f0937d14049422989 (diff)
parentde0e40d621c51cf075825633946a9ac7f98ac213 (diff)
Merge branch 'master' into matrix-redesign
Diffstat (limited to 'render/gles2/renderer.c')
-rw-r--r--render/gles2/renderer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index e0a98d29..0324ad64 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -182,7 +182,8 @@ static bool wlr_gles2_render_texture_with_matrix(
wlr_texture_bind(texture);
GL_CALL(glUniformMatrix3fv(0, 1, GL_FALSE, matrix));
- GL_CALL(glUniform1f(2, alpha));
+ GL_CALL(glUniform1i(1, texture->inverted_y));
+ GL_CALL(glUniform1f(3, alpha));
draw_quad();
return true;
}