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