diff options
author | Roland Scheidegger <[email protected]> | 2006-11-05 22:21:11 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2006-11-05 22:21:11 +0000 |
commit | aee30f3f9d4c2936ddb735e07ec5988444e0a89e (patch) | |
tree | 6fe71ec1866179601c1a548e3ff1efb33ad34b6c /src/mesa/drivers/dri/r200 | |
parent | 831d13bc42f998538a247b4082a992d3af45aa3d (diff) |
fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp inputs.
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_vertprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_vertprog.c b/src/mesa/drivers/dri/r200/r200_vertprog.c index acea0dba998..b5afe51d824 100644 --- a/src/mesa/drivers/dri/r200/r200_vertprog.c +++ b/src/mesa/drivers/dri/r200/r200_vertprog.c @@ -501,7 +501,7 @@ static GLboolean r200_translate_vertex_program(GLcontext *ctx, struct r200_verte free_inputs &= ~(1 << 0); array_count++; } - if (mesa_vp->Base.InputsRead & VERT_ATTRIB_WEIGHT) { + if (mesa_vp->Base.InputsRead & VERT_BIT_WEIGHT) { /* we don't actually handle that later. Then again, we don't have to... */ vp->inputs[VERT_ATTRIB_WEIGHT] = 12; array_count++; |