Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow prepare_windows to run off main thread. (bevyengine#11660)
# Objective - Allow prepare windows to run off of the main thread on platforms that allow it. - Fixes bevyengine#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.
- Loading branch information