st/nine: Avoid crash on empty Draw*Up
authorAxel Davy <axel.davy@ens.fr>
Sun, 23 Oct 2016 20:27:30 +0000 (22:27 +0200)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:20 +0000 (23:44 +0100)
commite7a0f580a6029845b372504388b5b5d2eed2c55b
tree61f88fc53596853631934e8afb19449ded966622
parentada0c2ceaa510550ad11f509016fc09f5a5e56d3
st/nine: Avoid crash on empty Draw*Up

Ignore empty draw calls.
Avoid assertion fault when such draw calls happen
in u_upload_mgr.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c