Commit f806064e7e30cf3b52c06f6304acad97a9614dd3

Ivan Epifanov 2021-07-19T13:12:10

Remove 'support' for rgb/bgr textures, that was causing issues with them

diff --git a/src/render/vitagxm/SDL_render_vita_gxm.c b/src/render/vitagxm/SDL_render_vita_gxm.c
index 02a439b..cb8f377 100644
--- a/src/render/vitagxm/SDL_render_vita_gxm.c
+++ b/src/render/vitagxm/SDL_render_vita_gxm.c
@@ -115,14 +115,12 @@ SDL_RenderDriver VITA_GXM_RenderDriver = {
     .info = {
         .name = "VITA gxm",
         .flags = SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE,
-        .num_texture_formats = 6,
+        .num_texture_formats = 4,
         .texture_formats = {
             [0] = SDL_PIXELFORMAT_ABGR8888,
             [1] = SDL_PIXELFORMAT_ARGB8888,
-            [2] = SDL_PIXELFORMAT_RGB888,
-            [3] = SDL_PIXELFORMAT_BGR888,
-            [4] = SDL_PIXELFORMAT_RGB565,
-            [5] = SDL_PIXELFORMAT_BGR565
+            [2] = SDL_PIXELFORMAT_RGB565,
+            [3] = SDL_PIXELFORMAT_BGR565
         },
         .max_texture_width = 4096,
         .max_texture_height = 4096,