SDL
SDL copied to clipboard
SDL_WINDOW_HIDDEN. BUG
+SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight");
+window = SDL_CreateWindow(NULL, 0, 0, 320, 480, SDL_WINDOW_FULLSCREEN | SDL_WINDOW_ALLOW_HIGHDPI|SDL_WINDOW_HIDDEN);
-window = SDL_CreateWindow(NULL, 0, 0, 320, 480, SDL_WINDOW_FULLSCREEN | SDL_WINDOW_ALLOW_HIGHDPI);
renderer = SDL_CreateRenderer(window, -1, 0);
SDL_GetWindowSize(window, &width, &height);
SDL_RenderSetLogicalSize(renderer, width, height);
+SDL_ShowWindow(window);
SDL2 2.26.5
Missing display
iOS
I'm not sure what the bug is here? Can you provide more explanation?
"If SDL_WINDOW_HIDDEN is used when creating and then SDL_ShowWindow is used, the screen will not be fully displayed."
"Please look at the smiley face in the screenshot, it is missing in the lower area."
This has been fixed for the 2.23.0 release, thanks!