renderer/gles2: Interpret matrix as column major in shader

Avoids us needing to transpose.
This commit is contained in:
Alexander Orzechowski 2023-05-22 14:26:53 -04:00
parent 3de330ec85
commit 6f67bfe5ab
2 changed files with 1 additions and 9 deletions

View file

@ -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;
}