summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-05-06 12:18:07 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2008-05-06 12:18:07 -0700
commit171ba1d0d154f7fdeb712fd411f19e1ebddd3b55 (patch)
tree478b35af2d79a927223b75188b79498c33827dcc /src/mesa
parent06e2e1b87ce7db9f48b9d198d71d46636f7e6fe3 (diff)
r5xx: Fix typo.
Gotta be more careful with my cut'n'paste, lawl.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c
index 0e2bda1c64..9ad081e9b8 100644
--- a/src/mesa/drivers/dri/r300/r500_fragprog.c
+++ b/src/mesa/drivers/dri/r300/r500_fragprog.c
@@ -183,7 +183,7 @@ static GLuint make_dest(struct r500_fragment_program *fp, struct prog_dst_regist
// reg = (dest.Index << 0x1) | 0x1;
reg = dest.Index;
if (dest.Index > fp->max_temp_idx)
- fp->max_temp_idx = src.Index;
+ fp->max_temp_idx = dest.Index;
break;
case PROGRAM_OUTPUT:
/* Eventually we may need to handle multiple