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 committed 2024-07-14 07:19:20 -07:00
1 parent dd08c279e2
commit bfee544685
5 files changed
+5 -5

No files matched your search

+1 -1
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.