Update crates/bevy_render/src/view/window/mod.rs

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
This commit is contained in:
Tyler 2025-03-11 16:00:25 -04:00 committed by GitHub
parent 38f233e616
commit 60bc2b5412
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ fn safely_configure_surface(
) {
if is_wsl {
// Use a closure to avoid polluting the backtrace with catch_unwind machinery
let result = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| {
let result = core::panic::catch_unwind(core::panic::AssertUnwindSafe(|| {
render_device.configure_surface(surface, config);
}));