2022-06-03 12:07:43 -06:00
|
|
|
#define SDL_MAIN_HANDLED
|
|
|
|
#include "SDL.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
SDL_SetMainReady();
|
|
|
|
if (SDL_Init(0) < 0) {
|
2022-11-21 21:28:58 -07:00
|
|
|
fprintf(stderr, "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;
|
|
|
|
}
|