Просмотр исходного кода

iOS: don't compile unused function

Andrey Filipenkov 3 лет назад
Родитель
Сommit
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()
 {