Browse Source

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

Philipp Wiesemann 9 years ago
parent
commit
12c78c5ca5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/psp/SDL_pspvideo.c

+ 1 - 1
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