Skip to content

Commit 1115e4a

Browse files
committed
Chip away at Swift 6
1 parent 8f18a5b commit 1115e4a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/GateEngine/System/Audio/Platforms/Backends/CoreAudio/CAContextReference.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ internal final class CAContextReference: AudioContextBackend {
1515
engine.pause()
1616
try engine.start()
1717
} catch {
18-
Log.fatalError("AVAudioEngine Error: \(error)")
18+
Log.warn("AVAudioEngine Error: \(error)")
1919
}
2020
}
2121

Sources/GateEngine/System/HID/GamePad/GamePadInterpreter/Interpreters/HID/IOKitGamePadInterpreter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#if canImport(IOKit)
88
import Foundation
99
import CoreFoundation
10-
import IOKit.hid
10+
@preconcurrency import IOKit.hid
1111

1212
private class HIDController {
1313
let guid: SDL2ControllerGUID

Sources/GateEngine/System/Rendering/RenderTarget.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ extension _RenderTargetProtocol {
100100
}
101101
}
102102

103-
@MainActor public final class RenderTarget: View, RenderTargetProtocol, _RenderTargetProtocol {
103+
@MainActor public final class RenderTarget: View, @MainActor RenderTargetProtocol, @MainActor _RenderTargetProtocol {
104104
@usableFromInline
105105
var renderTargetBackend: any RenderTargetBackend
106106
var previousSize: Size2i? = nil

0 commit comments

Comments
 (0)