PSP: Fixed returning success from unsupported SDL_RenderReadPixels().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 01 Apr 2016 21:13:58 +0200
changeset 10137 406f82002892
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
--- a/src/render/psp/SDL_render_psp.c	Fri Apr 01 21:12:37 2016 +0200
+++ b/src/render/psp/SDL_render_psp.c	Fri Apr 01 21:13:58 2016 +0200
@@ -861,7 +861,7 @@
                     Uint32 pixel_format, void * pixels, int pitch)
 
 {
-        return 0;
+    return SDL_Unsupported();
 }