Browse Source

iOS: don't compile unused function

Andrey Filipenkov 3 years ago
parent
commit
70c51e4370
1 changed files with 2 additions and 0 deletions
  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)
 static bool checkVideoMode(int monitorIndex, int w, int h)
 {
 {
 	//we only check that our desired window size fits on screen
 	//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;
 	return false;
 }
 }
+#endif
 
 
 static void cleanupRenderer()
 static void cleanupRenderer()
 {
 {