1
0
Fork 0
mirror of https://github.com/Ryujinx/SDL.git synced 2025-01-11 21:35:27 +00:00
This commit is contained in:
Ivan Epifanov 2020-11-29 22:07:53 +03:00 committed by Sam Lantinga
parent a86ba3916e
commit 05e5a7cb05

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();
}