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

main
Ivan Epifanov 2021-07-19 13:12:10 +03:00 committed by Ryan C. Gordon
parent d6641d7123
commit f806064e7e
1 changed files with 3 additions and 5 deletions

View File

@ -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,