fix zoom detection issue in old OSX versions
This commit is contained in:
@@ -41,6 +41,13 @@ bool App::clipboard_set_text(const std::string& s)
|
||||
#endif
|
||||
}
|
||||
|
||||
void App::stacktrace()
|
||||
{
|
||||
#if __OSX__
|
||||
NSString* callstack = [[NSThread callStackSymbols] componentsJoinedByString:@"\n"];
|
||||
LOG("callstack:\n%s", [callstack cStringUsingEncoding:NSUTF8StringEncoding]);
|
||||
#endif
|
||||
}
|
||||
|
||||
void App::crash_test()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user