From 8c70c2a136d6412e27550c1c2584d972f9d9812a Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 18 Nov 2020 10:32:18 +0100 Subject: changes to librw layer, GLES now runtime choice --- src/extras/shaders/im2d.vert | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/extras/shaders/im2d.vert') diff --git a/src/extras/shaders/im2d.vert b/src/extras/shaders/im2d.vert index 241593b1..fcd81c2c 100644 --- a/src/extras/shaders/im2d.vert +++ b/src/extras/shaders/im2d.vert @@ -1,12 +1,10 @@ uniform vec4 u_xform; -layout(location = 0) in vec4 in_pos; -layout(location = 2) in vec4 in_color; -layout(location = 3) in vec2 in_tex0; +VSIN(ATTRIB_POS) vec4 in_pos; -out vec4 v_color; -out vec2 v_tex0; -out float v_fog; +VSOUT vec4 v_color; +VSOUT vec2 v_tex0; +VSOUT float v_fog; void main(void) -- cgit v1.2.3