diff options
author | Oliver McFadden <[email protected]> | 2007-07-13 04:58:32 +0000 |
---|---|---|
committer | Oliver McFadden <[email protected]> | 2007-07-13 04:58:32 +0000 |
commit | 07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc (patch) | |
tree | e5d1952db13c7b4af66bde4514c517a249e2c4a7 /src/mesa/drivers | |
parent | 42dcdb9372f541f35c06920368946ebe24696fc4 (diff) |
r300: Corrected off-by-one error in r300_vertprog.c.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_vertprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c index d5cae478539..60f151c5423 100644 --- a/src/mesa/drivers/dri/r300/r300_vertprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertprog.c @@ -455,7 +455,7 @@ static void r300TranslateVertexShader(struct r300_vertex_program *vp, if (vp->key.OutputsWritten & (1 << VERT_RESULT_BFC0)) { vp->outputs[VERT_RESULT_BFC0] = 3; - cur_reg = 5; + cur_reg = 4; } if (vp->key.OutputsWritten & (1 << VERT_RESULT_BFC1)) { |