Updating supported format

main
Francisco Javier Trujillo Mata 2022-08-01 11:43:35 +02:00 committed by Sam Lantinga
parent 1d1965b6ee
commit ed301b123b
1 changed files with 1 additions and 5 deletions

View File

@ -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;
}