swrast: use Map/UnmapTextureImage() in framebuffer map/unmap code
authorBrian Paul <brianp@vmware.com>
Thu, 19 Jan 2012 00:39:33 +0000 (17:39 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 24 Jan 2012 21:12:37 +0000 (14:12 -0700)
commit1caf698191fb871850311353862eb7fc927f9f9c
tree7493a01f72809316ef78d79740b1ab8b3ebe72e8
parent56d83ac4bf0267982554f25c6fdb3c1dd6e14a9c
swrast: use Map/UnmapTextureImage() in framebuffer map/unmap code

When we're actually rendering into a texture, map the texture image
instead of the corresponding renderbuffer.  Before, we just copied
a pointer from the texture image to the renderbuffer.  This change
will make the code usable by hardware drivers.
src/mesa/swrast/s_renderbuffer.c