forked from MeloNX/MeloNX
Fix One Window Crash
This commit is contained in:
parent
ab28f9a24a
commit
8ebde3f921
Binary file not shown.
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user