diff options
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1869,6 +1869,10 @@ static bool InitGraphicsDevice(int width, int height) #if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB) glfwSetErrorCallback(ErrorCallback); +#if defined(__APPLE__) + glfwInitHint(GLFW_COCOA_CHDIR_RESOURCES, GLFW_FALSE); +#endif + if (!glfwInit()) { TraceLog(LOG_WARNING, "Failed to initialize GLFW"); |
