diff options
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r-- | src/mesa/tnl/t_vertex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index fc076190e46..dcb6aef16b1 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa/tnl/t_vertex.c @@ -940,7 +940,7 @@ void _tnl_get_attr( GLcontext *ctx, const void *vin, GLuint j; for (j = 0; j < attr_count; j++) { - if (a[j].attrib == (int)attr) { + if (a[j].attrib == attr) { a[j].extract( &a[j], dest, (GLubyte *)vin + a[j].vertoffset ); return; } @@ -963,7 +963,7 @@ void _tnl_set_attr( GLcontext *ctx, void *vout, GLuint j; for (j = 0; j < attr_count; j++) { - if (a[j].attrib == (int)attr) { + if (a[j].attrib == attr) { a[j].insert[4-1]( &a[j], (GLubyte *)vout + a[j].vertoffset, src ); return; } |