diff options
Diffstat (limited to 'gui/src/main.cpp')
| -rw-r--r-- | gui/src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/main.cpp b/gui/src/main.cpp index a171351..85db18d 100644 --- a/gui/src/main.cpp +++ b/gui/src/main.cpp @@ -5,6 +5,9 @@ //======================================================================== int main(int argc, char *argv[]){ + + + /* ofSetupOpenGL(1600,200,OF_WINDOW); // <-------- setup the GL context @@ -58,6 +61,7 @@ int main(int argc, char *argv[]){ guiWindow->setVerticalSync(false); shared_ptr<ofApp> mainApp(new ofApp); + mainApp->arguments = vector<string>(argv, argv + argc); //mainApp->setupGui(); ofAddListener(guiWindow->events().update,mainApp.get(),&ofApp::updateGui); |
