Typedef SDL_WindowFlags

Window flags were previously an enum with the same name.
See ebd7f9adbd.
This commit is contained in:
Susko3 2024-03-03 19:21:24 +01:00 committed by Sam Lantinga
parent 424616e032
commit 4f58d18373
2 changed files with 2 additions and 1 deletions

View file

@ -141,6 +141,8 @@ typedef struct SDL_Window SDL_Window;
*
* \sa SDL_GetWindowFlags
*/
typedef Uint32 SDL_WindowFlags;
#define SDL_WINDOW_FULLSCREEN 0x00000001U /**< window is in fullscreen mode */
#define SDL_WINDOW_OPENGL 0x00000002U /**< window usable with OpenGL context */
#define SDL_WINDOW_OCCLUDED 0x00000004U /**< window is occluded */