aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-24 14:48:01 +0100
committeremersion <contact@emersion.fr>2018-01-24 14:48:01 +0100
commit6281deb90fa6a97835d5045a8be610556ab588fe (patch)
treeb29d32c44a9a035fbf70e4cdb3dc964a4d3f1507 /render/gles2
parent4d282c859099321b1e799a2ab344480f186359ef (diff)
parent7a2e9a17bae919088f4265961ad8d00fece7b870 (diff)
Merge remote-tracking branch 'upstream/master' into output-damage
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index 3909fd84..b2412f79 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -188,7 +188,7 @@ static bool wlr_gles2_render_texture(struct wlr_renderer *wlr_renderer,
static void wlr_gles2_render_quad(struct wlr_renderer *wlr_renderer,
const float (*color)[4], const float (*matrix)[16]) {
GL_CALL(glUseProgram(shaders.quad));
- GL_CALL(glUniformMatrix4fv(0, 1, GL_TRUE, *matrix));
+ GL_CALL(glUniformMatrix4fv(0, 1, GL_FALSE, *matrix));
GL_CALL(glUniform4f(1, (*color)[0], (*color)[1], (*color)[2], (*color)[3]));
draw_quad();
}