st/nine: Use align_calloc instead of align_malloc
authorAxel Davy <axel.davy@ens.fr>
Fri, 21 Oct 2016 15:27:10 +0000 (17:27 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 24 Oct 2016 19:56:44 +0000 (21:56 +0200)
commit942778099ea597ee6b04ebdc74f506667fc7782c
tree85f64d52a5221be68421a7d5d6cc48f29037407e
parent54010cf8b6da71a1b14c0dc586bb7e6be27052de
st/nine: Use align_calloc instead of align_malloc

We are not sure exactly what needs to be 0 initialized,
but we are missing some cases. 0 initialize all our current
aligned allocation.

Fixes Tree of Savior visual issues.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/buffer9.c
src/gallium/state_trackers/nine/cubetexture9.c
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/texture9.c
src/gallium/state_trackers/nine/volume9.c