nouveau: Just use MapTextureImage instead of duplicating the logic.
authorEric Anholt <eric@anholt.net>
Sat, 20 Apr 2013 05:05:21 +0000 (22:05 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Apr 2013 17:40:44 +0000 (10:40 -0700)
commitb78e48289f1dcdadfcab3da4ac0074ab16f430f0
tree7f7c32c3ca124dcbcc86537bc200650064668647
parentf91823f026fc5996f9b2ffa1dc48573810f1e4fd
nouveau: Just use MapTextureImage instead of duplicating the logic.

MapTextureImage has the exact same logic, except it can also handle
swrast-allocated buffers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/nouveau/nouveau_texture.c