Use SDL3 in a way that is xcframework compatible.

This commit is contained in:
2024-08-04 01:04:02 -07:00
parent 50f4f02f85
commit dad9a7c762
6 changed files with 65 additions and 11 deletions

View File

@ -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())