3 swap by cth103, jeuxjeux20 and jba03
8 #define SCREEN_WIDTH 854
9 #define SCREEN_HEIGHT 480
10 int main(int argc
, char **argv
) {
11 SDL_Log("\nswap by cth103, jeuxjeux20 and jba03\ndata taken from reswitched, switchbrew and creatable's switch waiting till im getting mine");
12 SDL_Window
* window
= NULL
;
13 SDL_Surface
* screenSurface
= NULL
;
14 if (SDL_Init(SDL_INIT_VIDEO
) < 0) {
15 fprintf(stderr
, "could not initialize sdl2: %s\n", SDL_GetError());
18 window
= SDL_CreateWindow(
20 SDL_WINDOWPOS_UNDEFINED
, SDL_WINDOWPOS_UNDEFINED
,
21 SCREEN_WIDTH
, SCREEN_HEIGHT
,
25 fprintf(stderr
, "could not create window: %s\n", SDL_GetError());
29 SDL_DestroyWindow(window
);