Skip to content
Snippets Groups Projects
Commit 86666f05 authored by Axel Davy's avatar Axel Davy
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>
parent ec0f465b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment