diff options
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/04_bloom/postprocess.c | 2 | ||||
-rw-r--r-- | src/example/04_bloom/preprocess.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/example/04_bloom/postprocess.c b/src/example/04_bloom/postprocess.c index ca35594..c305726 100644 --- a/src/example/04_bloom/postprocess.c +++ b/src/example/04_bloom/postprocess.c @@ -15,7 +15,7 @@ static void vert(UniformCollection* uniforms, VertexShaderIn* in, Vec4* clipcoor *_texcoord = in->vertex->texcoord; } -static bool frag(UniformCollection* uniforms, FragmentShaderIn* in, Color32* color) { +static bool frag(UniformCollection* uniforms, Color32* color) { float off = 1 / 600.f; //blur *color = tex2d(_frag_tex, _texcoord); diff --git a/src/example/04_bloom/preprocess.c b/src/example/04_bloom/preprocess.c index 9e5bb55..8dd2170 100644 --- a/src/example/04_bloom/preprocess.c +++ b/src/example/04_bloom/preprocess.c @@ -15,7 +15,7 @@ static void vert(UniformCollection* uniforms, VertexShaderIn* in, Vec4* clipcoor #define _frag_color out_color[0] #define _bright_color out_color[1] -static bool frag(UniformCollection* uniforms, FragmentShaderIn* in, Color32* color) { +static bool frag(UniformCollection* uniforms, Color32* color) { //_frag_color->r = 1; //_frag_color->g = 1; //_frag_color->b = 1; |