mirror of
https://github.com/GayPizzaSpecifications/cxx-swift-interop.git
synced 2025-08-03 21:21:32 +00:00
Use SDL3 in a way that is xcframework compatible.
This commit is contained in:
@ -1,9 +1,4 @@
|
||||
import Foundation
|
||||
import SDL3
|
||||
|
||||
guard SDL_Init(SDL_INIT_VIDEO) >= 0 else {
|
||||
print("SDL init failed.")
|
||||
exit(0)
|
||||
}
|
||||
print("SDL init success.")
|
||||
SDL_Quit()
|
||||
exit(Application().run())
|
||||
|
Reference in New Issue
Block a user