Browse Source

Removing the BGR_888 from texture supported

Francisco Javier Trujillo Mata 2 years ago
parent
commit
1d1965b6ee
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/render/ps2/SDL_render_ps2.c

+ 1 - 2
src/render/ps2/SDL_render_ps2.c

@@ -723,11 +723,10 @@ SDL_RenderDriver PS2_RenderDriver = {
     .info = {
         .name = "PS2 gsKit",
         .flags = SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE,
-        .num_texture_formats = 3,
+        .num_texture_formats = 2,
         .texture_formats = { 
             [0] = SDL_PIXELFORMAT_ABGR1555,
             [1] = SDL_PIXELFORMAT_ABGR8888,
-            [2] = SDL_PIXELFORMAT_BGR888,
         },
         .max_texture_width = 1024,
         .max_texture_height = 1024,