mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
PSP: Fixed returning success from unsupported SDL_RenderReadPixels().
This also fixed the missing error message.
This commit is contained in:
parent
d1e4814120
commit
831597f714
@ -861,7 +861,7 @@ PSP_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
|
|||||||
Uint32 pixel_format, void * pixels, int pitch)
|
Uint32 pixel_format, void * pixels, int pitch)
|
||||||
|
|
||||||
{
|
{
|
||||||
return 0;
|
return SDL_Unsupported();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user