Couple of fixed around Android build with cmake.

This commit is contained in:
ubuntu
2015-11-22 02:22:44 +01:00
parent c4282ce936
commit 49c196814f
6 changed files with 10 additions and 12 deletions
+2 -2
View File
@@ -660,8 +660,8 @@ bool SdlApp::OnInit()
DebugTrace("Video Display : h " << currentDisplayMode.h << ", w " << currentDisplayMode.w);
#if (defined ANDROID) || (defined IOS)
window_w = pVideoInfo->current_w;
window_h = pVideoInfo->current_h;
window_w = currentDisplayMode.w;
window_h = currentDisplayMode.h;
#else
window_w = ACTUAL_SCREEN_WIDTH;
window_h = ACTUAL_SCREEN_HEIGHT;