PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 01 Apr 2016 21:11:31 +0200
changeset 10135 74e0da251b27
parent 10134 723bdcbb53f7
child 10136 c2ef15299a2e
PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom().
src/video/psp/SDL_pspvideo.c
--- a/src/video/psp/SDL_pspvideo.c	Fri Apr 01 21:10:43 2016 +0200
+++ b/src/video/psp/SDL_pspvideo.c	Fri Apr 01 21:11:31 2016 +0200
@@ -234,7 +234,7 @@
 int
 PSP_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
 {
-    return -1;
+    return SDL_Unsupported();
 }
 
 void