From 1bb6b1d9dbabafdb864ee112526b1212744ac614 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 19 Jan 2010 18:52:19 -0500 Subject: r100/r200: fix dst pitch in blit code --- src/mesa/drivers/dri/radeon/radeon_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/radeon') diff --git a/src/mesa/drivers/dri/radeon/radeon_blit.c b/src/mesa/drivers/dri/radeon/radeon_blit.c index ff32b7d69e..c40f21c774 100644 --- a/src/mesa/drivers/dri/radeon/radeon_blit.c +++ b/src/mesa/drivers/dri/radeon/radeon_blit.c @@ -157,7 +157,7 @@ static inline void emit_cb_setup(struct r100_context *r100, unsigned width, unsigned height) { - uint32_t dst_pitch = pitch * _mesa_get_format_bytes(mesa_format); + uint32_t dst_pitch = pitch; uint32_t dst_format = 0; BATCH_LOCALS(&r100->radeon); -- cgit v1.2.3