1 parent f84b86f commit dde6a13Copy full SHA for dde6a13
1 file changed
src/Processing.cpp
@@ -3363,6 +3363,9 @@ void PApplet::run(){
3363
::std::srand((unsigned)::std::time(nullptr));
3364
initPerlin(0); // initialize noise table with default seed
3365
3366
+#if defined(__APPLE__)
3367
+ glfwInitHint(GLFW_COCOA_CHDIR_RESOURCES, GLFW_FALSE);
3368
+#endif
3369
if(!glfwInit()){
3370
fprintf(stderr, "[ERR] glfwInit() failed. Make sure libglfw3.dll is next to ide.exe\n");
3371
#ifdef _WIN32
0 commit comments