Extract standalone Playground SDK source foundation

This commit is contained in:
CRTkafa 2026-10-02 23:54:36 +07:00
commit 34ac58b9a2
3567 changed files with 1657902 additions and 0 deletions

13
third_party/SDL3/cmake/test/main.swift vendored Normal file
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()