WTF
parent
6fab3323c3
commit
3c1fe9cea6
|
@ -4024,9 +4024,6 @@ SDL_IsScreenKeyboardShown(SDL_Window *window)
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_VITA
|
|
||||||
#include "vita/SDL_vitamessagebox.h"
|
|
||||||
#endif
|
|
||||||
#if SDL_VIDEO_DRIVER_ANDROID
|
#if SDL_VIDEO_DRIVER_ANDROID
|
||||||
#include "android/SDL_androidmessagebox.h"
|
#include "android/SDL_androidmessagebox.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -4110,12 +4107,6 @@ SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* It's completely fine to call this function before video is initialized */
|
/* It's completely fine to call this function before video is initialized */
|
||||||
#if SDL_VIDEO_DRIVER_VITA
|
|
||||||
if (retval == -1 &&
|
|
||||||
VITA_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
|
||||||
retval = 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#if SDL_VIDEO_DRIVER_ANDROID
|
#if SDL_VIDEO_DRIVER_ANDROID
|
||||||
if (retval == -1 &&
|
if (retval == -1 &&
|
||||||
Android_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
Android_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue