mesa: fix dstRowDiff computation in RGTC texstore functions
authorMarek Olšák <maraeo@gmail.com>
Tue, 5 Apr 2011 23:23:51 +0000 (01:23 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 8 Apr 2011 02:38:36 +0000 (04:38 +0200)
commit6eff8479af1a137d81d7bffc0c55a39910c28ce9
tree11102ed21814288f3aca3ffced8448e2dada701a
parent55a629cee5c20b357cca5c767a14fb27d9691e16
mesa: fix dstRowDiff computation in RGTC texstore functions

Copied from libtxc_dxtn, this fixes NPOT RGTC1 textures with r300g.
I also did the same for RGTC2.
src/mesa/main/texcompress_rgtc.c