summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-07-13 04:58:32 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-07-13 04:58:32 +0000
commit07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc (patch)
treee5d1952db13c7b4af66bde4514c517a249e2c4a7 /src/mesa
parent42dcdb9372f541f35c06920368946ebe24696fc4 (diff)
r300: Corrected off-by-one error in r300_vertprog.c.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c2
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 d5cae47853..60f151c542 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)) {