st/nine: Fix assert in NineUnknown_QueryInterface
authorPatrick Rudolph <siro@das-labor.org>
Wed, 14 Sep 2016 17:50:16 +0000 (19:50 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:51 +0000 (23:43 +0200)
commit8ceb2264c571c7ca03cc9fbd08df92f3bea89372
treef8f9e254623a57b5592eb84c2a5ceb68d9cf84af
parentf2eacef33de8d7b136b485927cb10f15d7439d48
st/nine: Fix assert in NineUnknown_QueryInterface

Tests showed that is allowed to call this method on
object that have a zero refcount.
Required for issue #230.

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