From 11f177afbff2fa00d6bd50b40519abcc4a8f55be Mon Sep 17 00:00:00 2001 From: paoda Date: Tue, 5 Sep 2023 03:47:59 -0500 Subject: [PATCH] chore(ui): flip texture horizontally --- src/shader/pixelbuf.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shader/pixelbuf.vert b/src/shader/pixelbuf.vert index 4037781..eb34379 100644 --- a/src/shader/pixelbuf.vert +++ b/src/shader/pixelbuf.vert @@ -2,7 +2,7 @@ out vec2 uv; const vec2 pos[3] = vec2[3](vec2(-1.0f, -1.0f), vec2(-1.0f, 3.0f), vec2(3.0f, -1.0f)); -const vec2 uvs[3] = vec2[3](vec2( 2.0f, 2.0f), vec2( 2.0f, 0.0f), vec2(0.0f, 2.0f)); +const vec2 uvs[3] = vec2[3](vec2( 0.0f, 2.0f), vec2( 0.0f, 0.0f), vec2(2.0f, 2.0f)); void main() { uv = uvs[gl_VertexID];