From 4deff343b5fd928ae9475eedcf9b6add34b31ae2 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 18 Jul 2020 03:43:19 +0800 Subject: -uniform collection --- src/example/04_bloom/postprocess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 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 fe58b96..1d476d0 100644 --- a/src/example/04_bloom/postprocess.c +++ b/src/example/04_bloom/postprocess.c @@ -9,13 +9,13 @@ static float weight[5] = { 0.2270270270, 0.1945945946, 0.1216216216, 0.0540540541, 0.0162162162 }; -static void vert(UniformCollection* uniforms, Vertex* in, Vec4* clipcoord) { +static void vert( Vertex* in, Vec4* clipcoord) { clipcoord->xyz = in->position; clipcoord->w = 1; *_texcoord = in->texcoord; } -static bool frag(UniformCollection* uniforms, Color32* color) { +static bool frag( Color32* color) { float off = 1 / 600.f; //blur *color = tex2d(_frag_tex, _texcoord); -- cgit v1.1-26-g67d0