mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Fix One Window Crash
This commit is contained in:
parent
ab28f9a24a
commit
8ebde3f921
2 changed files with 1 additions and 4 deletions
Binary file not shown.
|
@ -61,12 +61,9 @@ struct ContentView: View {
|
|||
|
||||
if let game {
|
||||
ZStack {
|
||||
SDLViewRepresentable { displayid in
|
||||
start(displayid: 0)
|
||||
}
|
||||
Text("Loading...")
|
||||
.onAppear {
|
||||
// start(displayid: 0)
|
||||
start(displayid: 0)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue