diff --git a/adapters/standalone.cpp b/adapters/standalone.cpp index 7db6dfea..45b9f1a0 100644 --- a/adapters/standalone.cpp +++ b/adapters/standalone.cpp @@ -208,10 +208,10 @@ int main(int argc, char* argv[]) { #if defined ARCH_MAC // For some reason, launching from the command line sets glfwGetOpenedFilenames(), so make sure we're running the app bundle. if (asset::bundlePath != "") { - // const char* const* openedFilenames = glfwGetOpenedFilenames(); - // if (openedFilenames && openedFilenames[0]) { - // patchPath = openedFilenames[0]; - // } + const char* const* openedFilenames = glfwGetOpenedFilenames(); + if (openedFilenames && openedFilenames[0]) { + patchPath = openedFilenames[0]; + } } #endif diff --git a/dep/glfw b/dep/glfw index 10a72dcb..d46b57cd 160000 --- a/dep/glfw +++ b/dep/glfw @@ -1 +1 @@ -Subproject commit 10a72dcb9097c4668fd77d6e2d5e5695c8d55f1a +Subproject commit d46b57cdb16e521c8cf4290c9022278863a84022