mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 14:38:29 +00:00
Updating supported format
This commit is contained in:

committed by
Sam Lantinga

parent
1d1965b6ee
commit
ed301b123b
@@ -109,11 +109,7 @@ static int PixelFormatToPS2PSM(Uint32 format)
|
||||
{
|
||||
switch (format) {
|
||||
case SDL_PIXELFORMAT_ABGR1555:
|
||||
return GS_PSM_CT16S;
|
||||
case SDL_PIXELFORMAT_BGR888:
|
||||
return GS_PSM_CT24;
|
||||
case SDL_PIXELFORMAT_ABGR8888:
|
||||
return GS_PSM_CT32;
|
||||
return GS_PSM_CT16;
|
||||
default:
|
||||
return GS_PSM_CT32;
|
||||
}
|
||||
|
Reference in New Issue
Block a user