From 05e5a7cb05c23cba0b44712558c9ca699189f831 Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Sun, 29 Nov 2020 22:07:53 +0300 Subject: [PATCH] Oops --- src/render/vitagxm/SDL_render_vita_gxm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/vitagxm/SDL_render_vita_gxm.c b/src/render/vitagxm/SDL_render_vita_gxm.c index 88ecf704f..c8024d4ea 100644 --- a/src/render/vitagxm/SDL_render_vita_gxm.c +++ b/src/render/vitagxm/SDL_render_vita_gxm.c @@ -985,7 +985,7 @@ VITA_GXM_RenderReadPixels(SDL_Renderer *renderer, const SDL_Rect *rect, Uint32 pixel_format, void *pixels, int pitch) { // TODO: read from texture rendertarget. Although no-one sane should do it. - if (render->target) { + if (renderer->target) { return SDL_Unsupported(); }