From 8c0d5485527050ab9fdb34fc69f305f9aae1b0c3 Mon Sep 17 00:00:00 2001 From: Quentin Bazin Date: Fri, 20 Oct 2023 14:00:36 +0200 Subject: [PATCH] [resources/shaders/screen] Small improvement. --- resources/shaders/screen.vs.sc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/shaders/screen.vs.sc b/resources/shaders/screen.vs.sc index 67b2b950..3408cc80 100644 --- a/resources/shaders/screen.vs.sc +++ b/resources/shaders/screen.vs.sc @@ -1,10 +1,11 @@ $input a_position, a_texcoord0 $output v_position, v_texcoord0 +#include + void main() { v_texcoord0 = a_texcoord0; v_position = a_position; - gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0); + gl_Position = vec4(a_position.xy, 0.0, 1.0); } -