Skip to content

Commit

Permalink
PSP: Fixed returning success from unsupported SDL_RenderReadPixels().
Browse files Browse the repository at this point in the history
This also fixed the missing error message.
  • Loading branch information
philippwiesemann committed Apr 1, 2016
1 parent d1e4814 commit 831597f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/psp/SDL_render_psp.c
Expand Up @@ -861,7 +861,7 @@ PSP_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
Uint32 pixel_format, void * pixels, int pitch)

{
return 0;
return SDL_Unsupported();
}


Expand Down

0 comments on commit 831597f

Please sign in to comment.