diff --git a/src/video/vita/SDL_vitavideo.c b/src/video/vita/SDL_vitavideo.c index 9f9feed33..0de9c1d1b 100644 --- a/src/video/vita/SDL_vitavideo.c +++ b/src/video/vita/SDL_vitavideo.c @@ -489,7 +489,7 @@ void VITA_ShowScreenKeyboard(_THIS, SDL_Window *window) return; } -#elif +#else SceWChar16 *title = u""; SceWChar16 *text = u""; @@ -544,7 +544,7 @@ SDL_bool VITA_IsScreenKeyboardShown(_THIS, SDL_Window *window) #if defined(SDL_VIDEO_VITA_PVR) SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata; return videodata->ime_active; -#elif +#else SceCommonDialogStatus dialogStatus = sceImeDialogGetStatus(); return (dialogStatus == SCE_COMMON_DIALOG_STATUS_RUNNING); #endif diff --git a/src/video/vita/SDL_vitavideo.h b/src/video/vita/SDL_vitavideo.h index b2c60294b..372c192ef 100644 --- a/src/video/vita/SDL_vitavideo.h +++ b/src/video/vita/SDL_vitavideo.h @@ -53,9 +53,10 @@ typedef struct SDL_WindowData SDL_bool uses_gles; SceUID buffer_uid; void* buffer; +#if defined(SDL_VIDEO_VITA_PVR) EGLSurface egl_surface; EGLContext egl_context; - +#endif } SDL_WindowData; extern SDL_Window * Vita_Window;