Fix typos
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
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;