summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-01-20 09:06:49 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-01-20 09:06:49 -0500
commit5a99ca490fee65d37a4c7469888680b412d27f7f (patch)
tree70910a384f79e7825a141984faa7ae2a151eace8 /src/mesa/drivers
parentc8b694b2c2f451235270a3442254379caea3f57d (diff)
r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9c
noticed by Maciej on IRC.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r200/r200_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_blit.c b/src/mesa/drivers/dri/r200/r200_blit.c
index f899f7efdc..b6fcc6e20c 100644
--- a/src/mesa/drivers/dri/r200/r200_blit.c
+++ b/src/mesa/drivers/dri/r200/r200_blit.c
@@ -241,7 +241,7 @@ static inline void calc_tex_coords(float img_width, float img_height,
buf[3] = buf[2] + reg_height / img_height;
if (flip_y)
{
- buf[2] = 1.0 - buf[1];
+ buf[2] = 1.0 - buf[2];
buf[3] = 1.0 - buf[3];
}
}