summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-02-16 16:51:41 +1000
committerDave Airlie <[email protected]>2011-02-16 16:51:41 +1000
commitf53436d821a5173075b2a4a8db8cd23d9669f6e2 (patch)
tree27793d7c25a1e9f42684d70ab5ce4cab9c8a7fec /src/gallium
parent9e725b9123c41acf84410cb32d28f729b1e5c9e4 (diff)
r600g: fix typo in previous s3tc commit
pointed out by Marek on irc.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 06375f72d19..31d5e3f73b6 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -287,7 +287,7 @@ static void r600_resource_copy_region(struct pipe_context *ctx,
restore_orig[1] = TRUE;
/* translate the dst box as well */
dstx = util_format_get_nblocksx(orig_info[1].format, dstx);
- dsty = util_format_get_nblocksx(orig_info[1].format, dsty);
+ dsty = util_format_get_nblocksy(orig_info[1].format, dsty);
}
r600_hw_copy_region(ctx, dst, dst_level, dstx, dsty, dstz,