mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-01 11:34:40 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user