gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 548 forks source link

[gl] Detect XLib display mismatch #3598

Closed kvark closed 3 years ago

kvark commented 3 years ago

Fixes #3588 The problem was that the RWH handle was of a different XLib display from the one used for Instance creation. Now we detect this and react accordingly. Running the example is still not possible on those Intel+NV machines, but that should be resolved separately. There was already supports_native_window = false in the instance. PR checklist:

agorgl commented 3 years ago

Way to go! bors r+

bors[bot] commented 3 years ago

:lock: Permission denied

Existing reviewers: click here to make ElArtista a reviewer

kvark commented 3 years ago

bors r=ElArtista

bors[bot] commented 3 years ago

Build succeeded: