Address feedback

This commit is contained in:
Feng Chen
2023-01-11 11:10:48 +08:00
parent 013b689153
commit 9fc7ca1731
5 changed files with 62 additions and 14 deletions

View File

@ -32,4 +32,4 @@ void main() {
float y = float((VERTEX_ID & 2) << 1);
gl_Position = vec4(x - 1.0, FLIPY * (y - 1.0), 0.0, 1.0);
texcoord = fma(vec2(x, y) / 2.0, tex_scale, tex_offset);
}
}