swrast: fix RGB, RGBA texturing code
authorBrian Paul <brianp@vmware.com>
Thu, 29 Oct 2009 01:46:26 +0000 (19:46 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 29 Oct 2009 01:46:28 +0000 (19:46 -0600)
commit086f9fc0e2aef27f54eda87c733685500555bf20
tree156f25c0a8950039ff57ee1fdbcd9539e40b0205
parent88bb4b593576a2977b2fe36794bd4d3dbc72063e
swrast: fix RGB, RGBA texturing code

Fix backward component ordering for RGB textures.
Only optimize RGBA texture case if running little endian.  This restriction
could be lifted with a little work.
src/mesa/swrast/s_triangle.c