Commit 12c78c5ca5cb719cdf891eece515315ddd882d09

Philipp Wiesemann 2016-04-01T21:11:31

PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom().

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/psp/SDL_pspvideo.c b/src/video/psp/SDL_pspvideo.c
index 9556668..ab0c611 100644
--- a/src/video/psp/SDL_pspvideo.c
+++ b/src/video/psp/SDL_pspvideo.c
@@ -234,7 +234,7 @@ PSP_CreateWindow(_THIS, SDL_Window * window)
 int
 PSP_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
 {
-    return -1;
+    return SDL_Unsupported();
 }
 
 void