diff options
author | chai <chaifix@163.com> | 2020-07-18 03:25:53 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-07-18 03:25:53 +0800 |
commit | 4984946caf0397a13da7605bc1ee406ea7354628 (patch) | |
tree | 0e87b71ae7639b8f12dbf3e8ec94e2087390acef /src/example/04_bloom/postprocess.c | |
parent | e5e995103377f9bb79123ef8257d8680ed0945fc (diff) |
-VertexShaderIn
Diffstat (limited to 'src/example/04_bloom/postprocess.c')
-rw-r--r-- | src/example/04_bloom/postprocess.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |