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
1 changed files with 1 additions and 1 deletions

View File

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