2
0
Эх сурвалжийг харах

iOS: don't compile unused function

Andrey Filipenkov 3 жил өмнө
parent
commit
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()
 {