diff --git a/gpu/src/dawn_impl.zig b/gpu/src/dawn_impl.zig index 57af0f2c..93fe2230 100644 --- a/gpu/src/dawn_impl.zig +++ b/gpu/src/dawn_impl.zig @@ -536,8 +536,7 @@ pub const Interface = gpu.Interface(struct { } pub inline fn deviceLoseForTesting(device: *gpu.Device) void { - _ = device; - unreachable; + procs.deviceLoseForTesting.?(@ptrCast(c.WGPUDevice, device)); } pub inline fn devicePopErrorScope(device: *gpu.Device, callback: gpu.ErrorCallback, userdata: *anyopaque) bool {