point to right module
This commit is contained in:
parent
60bc2b5412
commit
dce0bbf36b
@ -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);
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user