PSP: Fixed returning success from unsupported SDL_RenderReadPixels().
authorPhilipp Wiesemann
Fri, 01 Apr 2016 21:13:58 +0200
changeset 10137406f82002892
parent 10136 c2ef15299a2e
child 10138 4a8b649fee5b
PSP: Fixed returning success from unsupported SDL_RenderReadPixels().

This also fixed the missing error message.
src/render/psp/SDL_render_psp.c
     1.1 --- a/src/render/psp/SDL_render_psp.c	Fri Apr 01 21:12:37 2016 +0200
     1.2 +++ b/src/render/psp/SDL_render_psp.c	Fri Apr 01 21:13:58 2016 +0200
     1.3 @@ -861,7 +861,7 @@
     1.4                      Uint32 pixel_format, void * pixels, int pitch)
     1.5  
     1.6  {
     1.7 -        return 0;
     1.8 +    return SDL_Unsupported();
     1.9  }
    1.10  
    1.11