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