Squashed 'external/SDL/' content from commit 4d17b99d0a

git-subtree-dir: external/SDL
git-subtree-split: 4d17b99d0a1c33c5257063b098f883c669ade40b
This commit is contained in:
2026-04-02 14:13:02 +02:00
commit 206dcdedf1
2200 changed files with 961856 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/* Contributed by Piotr Usewicz (https://github.com/pusewicz) */
import SDL3
guard SDL_Init(SDL_INIT_VIDEO) else {
fatalError("SDL_Init error: \(String(cString: SDL_GetError()))")
}
var sdlVersion = SDL_GetVersion()
print("SDL version: \(sdlVersion)")
SDL_Quit()