summaryrefslogtreecommitdiff
path: root/vertex.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-10-01 20:21:13 +0000
committerrodri <rgl@antares-labs.eu>2024-10-01 20:21:13 +0000
commitb6a336aff26fbc94e7803719a8aeb8fa29eddb9b (patch)
treeee3049837fc0edf7e3d2133aa711457bbf9b8859 /vertex.c
parent453d100ac7734cd64652aa4d3a0685e3494428f7 (diff)
downloadlibgraphics-b6a336aff26fbc94e7803719a8aeb8fa29eddb9b.tar.gz
libgraphics-b6a336aff26fbc94e7803719a8aeb8fa29eddb9b.tar.bz2
libgraphics-b6a336aff26fbc94e7803719a8aeb8fa29eddb9b.zip
implement a uniforms interface through Shadertab.
Diffstat (limited to 'vertex.c')
-rw-r--r--vertex.c6
1 files changed, 3 insertions, 3 deletions
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;