/src/main.cpp
http://github.com/mazbox/Speakotron · C++ · 19 lines · 10 code · 5 blank · 4 comment · 0 complexity · fab9c7560c4012d845b70b9a216c83b0 MD5 · raw file
- #include "ofMain.h"
- #include "testApp.h"
- #include "ofAppGlutWindow.h"
- //========================================================================
- int main( ){
- ofAppGlutWindow window;
- window.setGlutDisplayString("rgba double samples>=4 depth");
- ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
- // this kicks off the running of my app
- // can be OF_WINDOW or OF_FULLSCREEN
- // pass in width and height too:
- testApp *app = new testApp();
- ofRunApp(app);
- }