Mercurial > hg > aubio-onset-detector
annotate aubioOnsetDetectorOFvisualiser/src/main.cpp @ 6:6a95d8b80393 tip
unknown changes
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 26 Nov 2012 23:17:34 +0000 |
parents | 979125db34ab |
children |
rev | line source |
---|---|
andrew@3 | 1 #include "ofMain.h" |
andrew@3 | 2 #include "testApp.h" |
andrew@3 | 3 #include "ofAppGlutWindow.h" |
andrew@3 | 4 |
andrew@3 | 5 //======================================================================== |
andrew@3 | 6 int main( ){ |
andrew@3 | 7 |
andrew@3 | 8 ofAppGlutWindow window; |
andrew@3 | 9 ofSetupOpenGL(&window, 640,480, OF_WINDOW); // <-------- setup the GL context |
andrew@3 | 10 |
andrew@3 | 11 // this kicks off the running of my app |
andrew@3 | 12 // can be OF_WINDOW or OF_FULLSCREEN |
andrew@3 | 13 // pass in width and height too: |
andrew@3 | 14 ofRunApp( new testApp()); |
andrew@3 | 15 |
andrew@3 | 16 } |