Remove SDL_WINDOW_SHOW flag, as redundant with SDL_WINDOW_HIDDEN

This commit is contained in:
Sylvain
2022-12-28 20:17:55 +01:00
committed by Sam Lantinga
parent 59a70d568d
commit aa46ff8f4b
14 changed files with 31 additions and 45 deletions

View File

@@ -13,7 +13,7 @@ int main(int argc, char *argv[]) {
"Hello SDL",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
640, 480,
SDL_WINDOW_SHOWN
0
);
if (window == NULL) {
fprintf(stderr, "could not create window: %s\n", SDL_GetError());