st/nine: Check discard_delayed_release is set before allocating more
authorAxel Davy <davyaxel0@gmail.com>
Sat, 27 Apr 2019 13:33:22 +0000 (15:33 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:52 +0000 (19:18 +0200)
commitce57f4f7c4d672a88527d0d346e27b902cfc3c6a
treef2ffb48f0b3d828a0155e903aafee93c587edced
parentb71c300c70fa33705ddd795998e0fe25452cb2af
st/nine: Check discard_delayed_release is set before allocating more

When discard_delayed_release is set (default), we allocate more buffers
and use a different buffer wait path.
Check if it is set, and use the old paths if not
(the alternative buffer wait path could still be used, but there is no
advantage to using it in this case).

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/swapchain9.c