Commit ed301b123b1eacb07f9e107159d2f4b16b9544f9

Francisco Javier Trujillo Mata 2022-08-01T11:43:35

Updating supported format

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/render/ps2/SDL_render_ps2.c b/src/render/ps2/SDL_render_ps2.c
index 02a2694..9f8a85f 100644
--- a/src/render/ps2/SDL_render_ps2.c
+++ b/src/render/ps2/SDL_render_ps2.c
@@ -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;
     }