mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 00:18:28 +00:00
Oops
This commit is contained in:

committed by
Sam Lantinga

parent
a86ba3916e
commit
05e5a7cb05
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user