mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-14 06:59:43 -05:00
renderer/gles2: Interpret matrix as column major in shader
Avoids us needing to transpose.
This commit is contained in:
parent
3de330ec85
commit
6f67bfe5ab
2 changed files with 1 additions and 9 deletions
|
|
@ -4,6 +4,6 @@ attribute vec2 texcoord;
|
|||
varying vec2 v_texcoord;
|
||||
|
||||
void main() {
|
||||
gl_Position = vec4(proj * vec3(pos, 1.0), 1.0);
|
||||
gl_Position = vec4(vec3(pos, 1.0) * proj, 1.0);
|
||||
v_texcoord = texcoord;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue