2022-06-03 12:07:43 -06:00
|
|
|
#define SDL_MAIN_HANDLED
|
2022-11-27 10:36:54 -07:00
|
|
|
#include <SDL3/SDL.h>
|
2022-12-14 21:58:20 -07:00
|
|
|
#include <SDL3/SDL_main.h>
|
2022-06-03 12:07:43 -06:00
|
|
|
|
2023-03-05 15:44:38 -07:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2022-06-03 12:07:43 -06:00
|
|
|
SDL_SetMainReady();
|
|
|
|
if (SDL_Init(0) < 0) {
|
2023-03-05 15:44:38 -07:00
|
|
|
SDL_Log("Could not initialize SDL: %s\n", SDL_GetError());
|
2022-06-03 12:07:43 -06:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
SDL_Delay(100);
|
|
|
|
SDL_Quit();
|
|
|
|
return 0;
|
|
|
|
}
|