19 lines
396 B
C
19 lines
396 B
C
#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;
|
|
}
|