mesa: use _mesa_pack_ubyte_rgba_rect() in texstore code
authorBrian Paul <brianp@vmware.com>
Mon, 30 Jan 2012 02:51:28 +0000 (19:51 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 30 Jan 2012 20:01:08 +0000 (13:01 -0700)
commit4c7e44e8e6fd1f441a97016d8bcc67133149e15e
tree18f2d7553eed620776dfdf08014a941584ad46b4
parent66940ad2d7145d30cf0381a9a2835efaa0d1ee3f
mesa: use _mesa_pack_ubyte_rgba_rect() in texstore code

Simplifies the general case code in the ubyte-valued texture format
functions.  More consolidation to come in subsequent commits.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/texstore.c