andrew@0: #include "ofMain.h" andrew@0: #include "testApp.h" andrew@0: #include "ofAppGlutWindow.h" andrew@0: andrew@0: //======================================================================== andrew@0: int main( ){ andrew@0: 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: }