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