diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-02-16 15:15:24 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-02-16 15:15:24 +0000 |
commit | 477363455d250bf7545f1cf89271025f9183dfb5 (patch) | |
tree | d6aff2d6c9eea9a7d35710f6191c194b0a386426 /src/mesa/tnl/t_vertex.h | |
parent | 7b5199e8a44dc478f8800950422efe94fa364de4 (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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vertex.h b/src/mesa/tnl/t_vertex.h index 6c58ca994b..04106264ff 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 ); |