st/nine: Move texture creation checks
authorAxel Davy <axel.davy@ens.fr>
Tue, 26 Jan 2016 16:32:22 +0000 (17:32 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 12 Feb 2016 22:26:36 +0000 (23:26 +0100)
commitbb65b189f34fb497b69e1b267cb355a6829d4b6b
tree45ae9f8889eb3a2c2592e43a2937bb41cb3a6748
parentd973a525d387f1562e796ec598951ee5d2f02540
st/nine: Move texture creation checks

We were having checks at both Create*Texture functions
and in ctors.

Move all Create*Texture checks to ctors.

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