andrew@28: #include "ofMain.h" andrew@28: #include "testApp.h" andrew@28: #include "ofAppGlutWindow.h" andrew@28: #include "ofxArgs.h" andrew@28: andrew@28: //======================================================================== andrew@28: int main(int argc, char *argv[]){ andrew@28: ofxArgs* args = new ofxArgs(argc, argv); andrew@28: andrew@28: if (argc > 0){ andrew@28: cout << "MIDI FOLLOW (" << argc << ") arg[1] is " << argv[1] << endl; andrew@28: } andrew@28: andrew@28: ofAppGlutWindow window; andrew@28: ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context andrew@28: andrew@28: // this kicks off the running of my app andrew@28: // can be OF_WINDOW or OF_FULLSCREEN andrew@28: // pass in width and height too: andrew@28: andrew@28: ofRunApp(new testApp(args)); andrew@28: delete args; andrew@28: andrew@28: } andrew@28: