mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Merge branch 'master' into matrix-redesign
This commit is contained in:
commit
8b58e1a3ad
16 changed files with 809 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue