Fixed gxm render flags

This commit is contained in:
Ivan Epifanov 2020-12-09 14:38:43 +03:00 committed by Sam Lantinga
parent 3ac2242e65
commit 639323ea0d

View File

@ -106,7 +106,7 @@ SDL_RenderDriver VITA_GXM_RenderDriver = {
.CreateRenderer = VITA_GXM_CreateRenderer, .CreateRenderer = VITA_GXM_CreateRenderer,
.info = { .info = {
.name = "VITA gxm", .name = "VITA gxm",
.flags = SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC, .flags = SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE,
.num_texture_formats = 1, .num_texture_formats = 1,
.texture_formats = { .texture_formats = {
[0] = SDL_PIXELFORMAT_ABGR8888, // TODO: support more formats? ARGB8888 should be enough? [0] = SDL_PIXELFORMAT_ABGR8888, // TODO: support more formats? ARGB8888 should be enough?