rebecca@13: #include "ofMain.h" rebecca@13: #include "testApp.h" rebecca@13: #include "ofAppGlutWindow.h" rebecca@13: rebecca@13: //======================================================================== rebecca@13: int main( ){ rebecca@13: rebecca@13: ofAppGlutWindow window; rebecca@13: ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context rebecca@13: rebecca@13: // this kicks off the running of my app rebecca@13: // can be OF_WINDOW or OF_FULLSCREEN rebecca@13: // pass in width and height too: rebecca@13: ofRunApp( new testApp()); rebecca@13: rebecca@13: }