Browse Source

Updated to OSX 10.9 and Xcode5.

bkaradzic 12 years ago
parent
commit
e3959838b3
2 changed files with 2 additions and 1 deletions
  1. 2 0
      examples/common/entry/entry_ios.mm
  2. 0 1
      premake/premake4.lua

+ 2 - 0
examples/common/entry/entry_ios.mm

@@ -123,6 +123,8 @@ using namespace entry;
 		m_displayLink = [self.window.screen displayLinkWithTarget:self selector:@selector(renderFrame)];
 		//[m_displayLink setFrameInterval:1];
 		//[m_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
+//		[m_displayLink addToRunLoop:[NSRunLoop currentRunLoop]];
+		[m_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];
 	}
 }
 

+ 0 - 1
premake/premake4.lua

@@ -117,7 +117,6 @@ function exampleProject(_name, _uuid)
 		links {
 			"Cocoa.framework",
 			"OpenGL.framework",
-			"SDL2",
 		}
 
 	configuration { "ios*" }