From 12c78c5ca5cb719cdf891eece515315ddd882d09 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 1 Apr 2016 21:11:31 +0200 Subject: [PATCH] PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom(). --- src/video/psp/SDL_pspvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/psp/SDL_pspvideo.c b/src/video/psp/SDL_pspvideo.c index 955666877..ab0c611a2 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