point to right module

This commit is contained in:
Tyler 2025-03-11 16:09:42 -04:00 committed by GitHub
parent 60bc2b5412
commit dce0bbf36b
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 = core::panic::catch_unwind(core::panic::AssertUnwindSafe(|| {
let result = core::intrinsics::catch_unwind(core::panic::AssertUnwindSafe(|| {
render_device.configure_surface(surface, config);
}));