|
@@ -1079,7 +1079,8 @@ static bool recreateWindow(int w, int h, int bpp, bool fullscreen, int displayIn
|
|
|
if (displayIndex < 0)
|
|
if (displayIndex < 0)
|
|
|
displayIndex = 0;
|
|
displayIndex = 0;
|
|
|
}
|
|
}
|
|
|
-#ifdef VCMI_IOS
|
|
|
|
|
|
|
+
|
|
|
|
|
+#if defined(VCMI_ANDROID) || defined(VCMI_IOS)
|
|
|
SDL_GetWindowSize(mainWindow, &w, &h);
|
|
SDL_GetWindowSize(mainWindow, &w, &h);
|
|
|
#else
|
|
#else
|
|
|
if(!checkVideoMode(displayIndex, w, h))
|
|
if(!checkVideoMode(displayIndex, w, h))
|