r300: Corrected off-by-one error in r300_vertprog.c.

This commit is contained in:
Oliver McFadden
2007-07-13 04:58:32 +00:00
parent 42dcdb9372
commit 07ac2386f5
+1 -1
View File
@@ -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)) {