This commit is contained in:
Ivan Epifanov authored and Sam Lantinga committed 2021-03-08 09:07:12 -08:00
1 parent a86ba3916e
commit 05e5a7cb05
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}