st/nine: Fix D3DWindowBuffer_release for old wine nine support
authorAxel Davy <davyaxel0@gmail.com>
Sat, 27 Apr 2019 13:45:12 +0000 (15:45 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:49 +0000 (19:18 +0200)
commit64a45ba7f83095a8a44a7b1104f31bab68b259fe
tree3db62aae41f7a3779657f6d6c25fa9037eaa541c
parent0cff98c8a02c472106320e4e0485acbd882c80f4
st/nine: Fix D3DWindowBuffer_release for old wine nine support

No-one reported bugs for that, but is seems
c442dd789066104e5e84cc90d98a7ff5cd6296cf
and previous commits used APIs not defined until
nine minor version 3.
This patch should prevent crash in this case.

Also turn off the resize feature in this case,
as we won't prevent a buffer leak anymore.

Cc: "19.0" mesa-stable@lists.freedesktop.org
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/swapchain9.c