Mesa (master): r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9c
Alex Deucher
agd5f at kemper.freedesktop.org
Wed Jan 20 14:13:23 UTC 2010
Module: Mesa
Branch: master
Commit: 5a99ca490fee65d37a4c7469888680b412d27f7f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a99ca490fee65d37a4c7469888680b412d27f7f
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Wed Jan 20 09:06:49 2010 -0500
r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9c
noticed by Maciej on IRC.
---
src/mesa/drivers/dri/r200/r200_blit.c | 2 +-
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 f899f7e..b6fcc6e 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];
}
}
More information about the mesa-commit
mailing list