diff --git a/docs/README-migration.md b/docs/README-migration.md index 0089142f1..8a81bd0d4 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -1680,7 +1680,6 @@ The following functions have been removed: * SDL_CreateWindowFrom() - use SDL_CreateWindowWithProperties() with the properties that allow you to wrap an existing window The SDL_Window id type is named SDL_WindowID -The SDL_WindowFlags enum should be replaced with Uint32 The following symbols have been renamed: * SDL_WINDOW_ALLOW_HIGHDPI => SDL_WINDOW_HIGH_PIXEL_DENSITY diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index 7482e2554..11f96d28b 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -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 */