diff options
author | rodri <rgl@antares-labs.eu> | 2024-10-01 20:21:13 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-10-01 20:21:13 +0000 |
commit | b6a336aff26fbc94e7803719a8aeb8fa29eddb9b (patch) | |
tree | ee3049837fc0edf7e3d2133aa711457bbf9b8859 /vertex.c | |
parent | 453d100ac7734cd64652aa4d3a0685e3494428f7 (diff) | |
download | libgraphics-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |