Browse Source

switch from official glfw to VCVRack fork of glfw

pull/1278/head
Silvio Kunaschk 6 years ago
parent
commit
0af0d8e99e
2 changed files with 5 additions and 5 deletions
  1. +4
    -0
      conanfile.txt
  2. +1
    -5
      src/main.cpp

+ 4
- 0
conanfile.txt View File

@@ -16,10 +16,14 @@ jansson/2.12@bincrafters/stable
libcurl/7.61.1@bincrafters/stable
libzip/1.5.1@bincrafters/stable

# override official glfw with VCVRack glfw version
glfw/3.3@qno/testing

#Poco/1.9.0@pocoproject/stable

[generators]
cmake
virtualrunenv

[options]
#Poco:shared=True


+ 1
- 5
src/main.cpp View File

@@ -148,11 +148,7 @@ int main(int argc, char *argv[]) {
INFO("Initializing app");
appInit();

// removed for now to be compliant with official GLEW version
// see https://github.com/VCVRack/Rack/issues/1269
// https://stackoverflow.com/questions/22952536/how-do-i-pass-a-filename-from-finder-into-my-os-x-application
//const char *openedFilename = glfwGetOpenedFilename();
const char *openedFilename = nullptr;
const char *openedFilename = glfwGetOpenedFilename();
if (openedFilename) {
patchPath = openedFilename;
}


Loading…
Cancel
Save