mesa: fix conversion errors in signed_rgba8888[rev] texel fetch
authorBrian Paul <brianp@vmware.com>
Thu, 22 Apr 2010 14:46:46 +0000 (08:46 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 22 Apr 2010 17:06:19 +0000 (11:06 -0600)
commit4d7ef6e06b45c75bc24f8f238bcc3d2328e53c7d
tree43d84760c443971c5b737743f39e5513224ff70b
parent986eb4b99fd9304abc949407e48dade5e122712e
mesa: fix conversion errors in signed_rgba8888[rev] texel fetch

Without the cast the returned texel colors were wrong.
Also, we don't need the "& 0xff" part anymore.
Bug found by Vinson Lee.
src/mesa/main/texfetch_tmp.h