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