mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Cleanup.
This commit is contained in:
parent
92000fcb57
commit
3b3120c04d
1 changed files with 8 additions and 6 deletions
|
@ -61,7 +61,9 @@ namespace entry
|
|||
CFURLRef resourcesURL = CFBundleCopyResourcesDirectoryURL(mainBundle);
|
||||
char path[PATH_MAX];
|
||||
if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8 *)path, PATH_MAX) )
|
||||
{
|
||||
chdir(path);
|
||||
}
|
||||
CFRelease(resourcesURL);
|
||||
|
||||
MainThreadEntry* self = (MainThreadEntry*)_userData;
|
||||
|
|
Loading…
Reference in a new issue