浏览代码

iOS: don't compile unused function

Andrey Filipenkov 3 年之前
父节点
当前提交
70c51e4370
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/CMT.cpp

+ 2 - 0
client/CMT.cpp

@@ -975,6 +975,7 @@ void playIntro()
 	}
 }
 
+#ifndef VCMI_IOS
 static bool checkVideoMode(int monitorIndex, int w, int h)
 {
 	//we only check that our desired window size fits on screen
@@ -996,6 +997,7 @@ static bool checkVideoMode(int monitorIndex, int w, int h)
 
 	return false;
 }
+#endif
 
 static void cleanupRenderer()
 {