Skip to content
Commit b1ef1c7a authored by Axel Davy's avatar Axel Davy Committed by Emil Velikov
Browse files

st/nine: Ignore window size if error

Check GetWindowInfo and ignore the computed sizes
if there is an error.

Fixes a regression caused by earlier commit when
using old wine gallium nine patches.

Should also address a crash at window destruction.

Related issues:
 https://github.com/iXit/Mesa-3D/issues/331
 https://github.com/iXit/Mesa-3D/issues/332



Cc: mesa-stable@lists.freedesktop.org
Fixes: 2318ca68 ("st/nine: Handle window resize when a presentation buffer is used")
Signed-off-by: default avatarAxel Davy <davyaxel0@gmail.com>
(cherry picked from commit 86666f05)
[Emil: resolve trivial conflicts]
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/gallium/state_trackers/nine/swapchain9.c
parent a61b6345
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment