![]() # Objective - Allow prepare windows to run off of the main thread on platforms that allow it. - Fixes https://github.com/bevyengine/bevy/issues/9964 on most platforms. ## Solution - Conditionally compile prepare windows for different OS's - Seems like it's only the call to `create_surface` that needs to run on the main thread here. - I've only tested this on windows, but I do see prepare windows running on other threads. --- ## Changelog - Allow prepare windows to run off main thread on platforms that allow it. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |