st/nine: Fix ATI2 pitch for non-square
authorAxel Davy <axel.davy@ens.fr>
Sat, 22 Aug 2015 23:09:44 +0000 (01:09 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit35047681ffc1b48f09fe3cedc15c9889eecef907
tree80d318b5b542ffb3def2eafba232e5a33f9b6a73
parenteeeab8d6b48ff83c0f42480fcd43031c34bda33f
st/nine: Fix ATI2 pitch for non-square

Fixes crash for non-square textures.
We were using the height instead of the
width for some calculations.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/surface9.c