summaryrefslogtreecommitdiff
path: root/src/example/04_bloom/preprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/04_bloom/preprocess.c')
-rw-r--r--src/example/04_bloom/preprocess.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/example/04_bloom/preprocess.c b/src/example/04_bloom/preprocess.c
index f02195f..0956c59 100644
--- a/src/example/04_bloom/preprocess.c
+++ b/src/example/04_bloom/preprocess.c
@@ -5,9 +5,8 @@
/*varyings*/
#define _color reg_v4_00
-static void vert(UniformCollection* uniforms, Vertex* in, Vec4* clipcoord) {
+static void vert( Vertex* in, Vec4* clipcoord) {
static Vec4 p; p.xyz = in->position; p.w = 1;
- internal_mat4_mulvec4(uniforms->mvp, &p, clipcoord);
color_tocolor32(in->color, _color);
}
@@ -15,7 +14,7 @@ static void vert(UniformCollection* uniforms, Vertex* in, Vec4* clipcoord) {
#define _frag_color out_color[0]
#define _bright_color out_color[1]
-static bool frag(UniformCollection* uniforms, Color32* color) {
+static bool frag( Color32* color) {
//_frag_color->r = 1;
//_frag_color->g = 1;
//_frag_color->b = 1;