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 551 forks source link

Metal swapchain lost on creation #2400

Open kvark opened 5 years ago

kvark commented 5 years ago

Filament samples fail to start because we return OUT_OF_DATE error on one of the first acquires. They aren't currently handling this, but even though they should, it's not good that we return the error right off the bat. We need to look into what's going on and try to make this smoother.

kvark commented 5 years ago

Looks like it only happens with "Wait" acquire mode. It wasn't tested as much as the "Oldest", so we should probably just switch to the latter by default.