mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
macOS: Fixed console apps.
This commit is contained in:
@@ -65,7 +65,8 @@ namespace entry
|
||||
char path[PATH_MAX];
|
||||
if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8*)path, PATH_MAX) )
|
||||
{
|
||||
chdir(path);
|
||||
// This breaks console apps, but it's not needed on windowed.
|
||||
//chdir(path);
|
||||
}
|
||||
|
||||
CFRelease(resourcesURL);
|
||||
|
||||
Reference in New Issue
Block a user