mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
17 lines
390 B
Diff
17 lines
390 B
Diff
|
diff --git a/src/main.cpp b/src/main.cpp
|
||
|
index 0954ae6..a8299f7 100644
|
||
|
--- a/src/main.cpp
|
||
|
+++ b/src/main.cpp
|
||
|
@@ -162,11 +162,6 @@ int main(int argc, char* argv[]) {
|
||
|
INFO("Initializing app");
|
||
|
appInit();
|
||
|
|
||
|
- const char* openedFilename = glfwGetOpenedFilename();
|
||
|
- if (openedFilename) {
|
||
|
- patchPath = openedFilename;
|
||
|
- }
|
||
|
-
|
||
|
if (!settings::headless) {
|
||
|
APP->patch->init(patchPath);
|
||
|
}
|