From 4984946caf0397a13da7605bc1ee406ea7354628 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 18 Jul 2020 03:25:53 +0800 Subject: -VertexShaderIn --- src/example/04_bloom/postprocess.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/example/04_bloom/postprocess.c') diff --git a/src/example/04_bloom/postprocess.c b/src/example/04_bloom/postprocess.c index c305726..fe58b96 100644 --- a/src/example/04_bloom/postprocess.c +++ b/src/example/04_bloom/postprocess.c @@ -9,10 +9,10 @@ static float weight[5] = { 0.2270270270, 0.1945945946, 0.1216216216, 0.0540540541, 0.0162162162 }; -static void vert(UniformCollection* uniforms, VertexShaderIn* in, Vec4* clipcoord) { - clipcoord->xyz = in->vertex->position; +static void vert(UniformCollection* uniforms, Vertex* in, Vec4* clipcoord) { + clipcoord->xyz = in->position; clipcoord->w = 1; - *_texcoord = in->vertex->texcoord; + *_texcoord = in->texcoord; } static bool frag(UniformCollection* uniforms, Color32* color) { -- cgit v1.1-26-g67d0