summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-02-16 15:15:24 +0000
committerKeith Whitwell <[email protected]>2004-02-16 15:15:24 +0000
commit477363455d250bf7545f1cf89271025f9183dfb5 (patch)
treed6aff2d6c9eea9a7d35710f6191c194b0a386426 /src/mesa/tnl/t_vertex.h
parent7b5199e8a44dc478f8800950422efe94fa364de4 (diff)
Add _tnl_set_attr() to complement existing get_attr() call.
Diffstat (limited to 'src/mesa/tnl/t_vertex.h')
-rw-r--r--src/mesa/tnl/t_vertex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vertex.h b/src/mesa/tnl/t_vertex.h
index 6c58ca994b3..04106264ff2 100644
--- a/src/mesa/tnl/t_vertex.h
+++ b/src/mesa/tnl/t_vertex.h
@@ -82,6 +82,12 @@ extern void _tnl_copy_pv( GLcontext *ctx, GLuint edst, GLuint esrc );
extern void _tnl_get_attr( GLcontext *ctx, const void *vertex, GLenum attrib,
GLfloat *dest );
+/* Complementary to the above.
+ */
+extern void _tnl_set_attr( GLcontext *ctx, void *vout, GLenum attrib,
+ const GLfloat *src );
+
+
extern void *_tnl_get_vertex( GLcontext *ctx, GLuint nr );