mesa: handle different RowStride in _mesa_get_compressed_teximage
authorRoland Scheidegger <sroland@vmware.com>
Sat, 21 Nov 2009 12:22:50 +0000 (04:22 -0800)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 21 Nov 2009 12:41:43 +0000 (04:41 -0800)
commitc367f4d46ee70c1d5879031235824e59e13f6677
treef60f20baaa4cb76fcc2e28bcd963e12106ced9de
parent8451b29d9628f09b65962385bfbd95cd7f26427f
mesa: handle different RowStride in _mesa_get_compressed_teximage

drivers storing compressed textures with non-native stride but relying on
_mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't
work correctly (for instance i965 compressed mipmaps).
src/mesa/main/texgetimage.c