N3DS: Deduce screen from window's display.

This removes the need for a dedicated window creation flag.
This commit is contained in:
Pierre Wendling
2022-09-18 13:22:07 -04:00
committed by Sam Lantinga
parent 46a13ad97a
commit f9785702a6
3 changed files with 38 additions and 13 deletions

View File

@@ -126,7 +126,6 @@ typedef enum
SDL_WINDOW_KEYBOARD_GRABBED = 0x00100000, /**< window has grabbed keyboard input */
SDL_WINDOW_VULKAN = 0x10000000, /**< window usable for Vulkan surface */
SDL_WINDOW_METAL = 0x20000000, /**< window usable for Metal view */
SDL_WINDOW_N3DS_BOTTOM = 0x40000000, /**< window should be on the bottom screen (N3DS only) */
SDL_WINDOW_INPUT_GRABBED = SDL_WINDOW_MOUSE_GRABBED /**< equivalent to SDL_WINDOW_MOUSE_GRABBED for compatibility */
} SDL_WindowFlags;