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

@@ -192,7 +192,7 @@ static void psp_on_vblank(u32 sub, PSP_RenderData *data)
}
}
static int PixelFormatToPSPFMT(Uint32 format)
static int PixelFormatToPSPFMT(SDL_PixelFormat format)
{
switch (format) {
case SDL_PIXELFORMAT_BGR565: