Fix One Window Crash

This commit is contained in:
Stossy11 2024-11-25 06:37:47 +11:00
parent ab28f9a24a
commit 8ebde3f921
2 changed files with 1 additions and 4 deletions

View File

@ -61,12 +61,9 @@ struct ContentView: View {
if let game { if let game {
ZStack { ZStack {
SDLViewRepresentable { displayid in
start(displayid: 0)
}
Text("Loading...") Text("Loading...")
.onAppear { .onAppear {
// start(displayid: 0) start(displayid: 0)
} }
} }
} else { } else {