Changed SDL_GetWindowPixelFormat() to return SDL_PixelFormat

Fixes https://github.com/libsdl-org/SDL/issues/10257
Closes https://github.com/libsdl-org/SDL/pull/10258
This commit is contained in:
Sam Lantinga
2024-07-14 07:19:20 -07:00
parent dd08c279e2
commit bfee544685
5 changed files with 5 additions and 5 deletions

View File

@@ -781,7 +781,7 @@ extern SDL_DECLSPEC void *SDLCALL SDL_GetWindowICCProfile(SDL_Window *window, si
*
* \since This function is available since SDL 3.0.0.
*/
extern SDL_DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window *window);
extern SDL_DECLSPEC SDL_PixelFormat SDLCALL SDL_GetWindowPixelFormat(SDL_Window *window);
/**
* Get a list of valid windows.