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

19
third_party/SDL3_ttf/cmake/test/main.c vendored Normal file
View file

@ -0,0 +1,19 @@
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>
#include <SDL3_ttf/SDL_ttf.h>
int main(int argc, char *argv[])
{
(void)argc;
(void)argv;
if (!SDL_Init(0)) {
SDL_Log("SDL_Init: could not initialize SDL: %s", SDL_GetError());
return 1;
}
if (!TTF_Init()) {
SDL_Log("TTF_Init: %s", SDL_GetError());
}
TTF_Quit();
SDL_Quit();
return 0;
}