st/nine: Fix possible crash on error
authorPatrick Rudolph <siro@das-labor.org>
Thu, 22 Oct 2015 15:02:16 +0000 (17:02 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit996f76bd8a6444970e57d646ad5af94f200bec00
treefccec0f6adab09d11ab2bc09cb3f95699e2ad591
parent40a0b97ebdcfeebc79d9cbf03fb78f84c3f599ba
st/nine: Fix possible crash on error

In case swapchain creation fails This->swapchains[i] might be NULL and
causes a crash.

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