Ver Fonte

Update iOSUtil.mm

This needs changing, but I am not sure how
3dDeters há 9 anos atrás
pai
commit
21a5b8caaf
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      engine/source/platformiOS/iOSUtil.mm

+ 2 - 1
engine/source/platformiOS/iOSUtil.mm

@@ -108,6 +108,7 @@ void _iOSGameSetCurrentOrientation(int iOrientation)
 
 
 S32 _iOSGetPortraitTouchoffset()
 S32 _iOSGetPortraitTouchoffset()
 {
 {
+// NOTE: This needs to be changed to acount for different retina sizes, but I am not sure what is going on with it yet
     S32 offset = 0;
     S32 offset = 0;
     
     
     S32 deviceType = Con::getIntVariable("$pref::iOS::DeviceType");
     S32 deviceType = Con::getIntVariable("$pref::iOS::DeviceType");
@@ -285,4 +286,4 @@ ConsoleFunction(OpeniOSRadio, void, 2, 2, "Forces open the iOS radio if given a
             OpeniOSNetworkingAndConnectToTCPObject(NULL, argv[1]);
             OpeniOSNetworkingAndConnectToTCPObject(NULL, argv[1]);
         }
         }
     }
     }
-}
+}