diff --git a/Package.swift b/Package.swift index b5d877b4..114f21cd 100644 --- a/Package.swift +++ b/Package.swift @@ -137,9 +137,9 @@ let package = Package( package: "OpenCombine" ), .product( - name: "SDL", + name: "SDL", package: "SwiftSDL2" - ) + ), ] ), .executableTarget( diff --git a/Sources/TokamakSDL2/Scenes/WindowGroup.swift b/Sources/TokamakSDL2/Scenes/WindowGroup.swift new file mode 100644 index 00000000..466986dd --- /dev/null +++ b/Sources/TokamakSDL2/Scenes/WindowGroup.swift @@ -0,0 +1,7 @@ +import TokamakCore + +extension WindowGroup: SceneDeferredToRenderer { + public var deferredBody: AnyView { + AnyView(content) + } +}