diff --git a/examples/common/entry/entry_ios.mm b/examples/common/entry/entry_ios.mm index e48126bd..0e28348a 100644 --- a/examples/common/entry/entry_ios.mm +++ b/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]; } } diff --git a/premake/premake4.lua b/premake/premake4.lua index 82ff06f7..ecedc718 100644 --- a/premake/premake4.lua +++ b/premake/premake4.lua @@ -117,7 +117,6 @@ function exampleProject(_name, _uuid) links { "Cocoa.framework", "OpenGL.framework", - "SDL2", } configuration { "ios*" }