st/nine: Fix stateblocks crashes with lights
authorAxel Davy <axel.davy@ens.fr>
Sat, 6 Feb 2016 18:29:10 +0000 (19:29 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 12 Feb 2016 22:26:36 +0000 (23:26 +0100)
commit17078d92ea524c9f0e9dff8d17f8b2df752d24cc
treed8c3e9b47ba9eee0445942ea72b84a94ddd12545
parent6cba347530433c61b218d2b897fb57f33835b37b
st/nine: Fix stateblocks crashes with lights

We had several issues of crashes with it.
This should fix it.

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