From b6a336aff26fbc94e7803719a8aeb8fa29eddb9b Mon Sep 17 00:00:00 2001 From: rodri Date: Tue, 1 Oct 2024 20:21:13 +0000 Subject: implement a uniforms interface through Shadertab. --- vertex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vertex.c') diff --git a/vertex.c b/vertex.c index 715a4c2..318dcbb 100644 --- a/vertex.c +++ b/vertex.c @@ -8,7 +8,7 @@ #include "internal.h" static void -_addvattr(Vertex *v, Vertexattr *va) +_addvattr(Vertexattrs *v, Vertexattr *va) { int i; @@ -95,7 +95,7 @@ berpvertex(Vertex *v, Vertex *v0, Vertex *v1, Vertex *v2, Point3 bc) } void -addvattr(Vertex *v, char *id, int type, void *val) +addvattr(Vertexattrs *v, char *id, int type, void *val) { Vertexattr va; @@ -110,7 +110,7 @@ addvattr(Vertex *v, char *id, int type, void *val) } Vertexattr * -getvattr(Vertex *v, char *id) +getvattr(Vertexattrs *v, char *id) { int i; -- cgit v1.2.3