st/nine: Assert on buffer creation failure
authorPatrick Rudolph <siro@das-labor.org>
Sat, 24 Sep 2016 08:46:27 +0000 (10:46 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:51 +0000 (23:43 +0200)
commitf04fa0a62c6d39659c38eabd63bff54f0d2833fe
tree2fe7caf339495f9b721ed91cd7bddfc2b515f0be
parentf8c01e7a96aed4e64eab11acbae8aef70c8e7cbe
st/nine: Assert on buffer creation failure

Add an assert to make sure buffer creation doesn't fail.
Add error handling in calling functions.

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