Use the right pitch when rendering to a texture
authorOwen Taylor <otaylor@snell.localdomain>
Wed, 14 Oct 2009 20:20:07 +0000 (16:20 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Thu, 15 Oct 2009 15:33:08 +0000 (11:33 -0400)
commit3f30b0709b5a71915df336194f9f805e4c306cef
tree237b2e3d88ef8926733bacaab1934782a4175c37
parent16c6a3b71e6be04b6bb3d08fcb658194c5251fc7
Use the right pitch when rendering to a texture

We need to get the pitch from the texture level we are rendering to,
rather than just using the base texel width.
src/mesa/drivers/dri/radeon/radeon_fbo.c