Commit b2504b5da6e3d8cbf9fa88793a4ad4c3b0635079

Ivan Epifanov 2021-09-11T20:08:03

Fix typos

diff --git a/src/video/vita/SDL_vitavideo.c b/src/video/vita/SDL_vitavideo.c
index 9f9feed..0de9c1d 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 b2c6029..372c192 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;