mirror of https://github.com/encounter/SDL.git
Updating supported format
This commit is contained in:
parent
1d1965b6ee
commit
ed301b123b
|
@ -109,11 +109,7 @@ static int PixelFormatToPS2PSM(Uint32 format)
|
||||||
{
|
{
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case SDL_PIXELFORMAT_ABGR1555:
|
case SDL_PIXELFORMAT_ABGR1555:
|
||||||
return GS_PSM_CT16S;
|
return GS_PSM_CT16;
|
||||||
case SDL_PIXELFORMAT_BGR888:
|
|
||||||
return GS_PSM_CT24;
|
|
||||||
case SDL_PIXELFORMAT_ABGR8888:
|
|
||||||
return GS_PSM_CT32;
|
|
||||||
default:
|
default:
|
||||||
return GS_PSM_CT32;
|
return GS_PSM_CT32;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue