#include #define SDL_MAIN_USE_CALLBACKS #include void SDL_AppQuit(void *appstate, SDL_AppResult result) { return; } SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) { return SDL_APP_SUCCESS; } SDL_AppResult SDL_AppIterate(void *appstate) { return SDL_APP_SUCCESS; } SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) { return SDL_APP_SUCCESS; }