Mercurial > hg > audio-time-warp
annotate src/main.cpp @ 6:b9d05eb35488
bug with loading needs fixing - if you use fullfilename for second audio file, it wont work properly...
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 04 Nov 2011 22:56:48 +0000 |
parents | 572c856e38ac |
children |
rev | line source |
---|---|
andrew@0 | 1 #include "ofMain.h" |
andrew@0 | 2 #include "testApp.h" |
andrew@0 | 3 #include "ofAppGlutWindow.h" |
andrew@0 | 4 |
andrew@0 | 5 //======================================================================== |
andrew@0 | 6 int main( ){ |
andrew@0 | 7 |
andrew@0 | 8 ofAppGlutWindow window; |
andrew@0 | 9 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
andrew@0 | 10 |
andrew@0 | 11 // this kicks off the running of my app |
andrew@0 | 12 // can be OF_WINDOW or OF_FULLSCREEN |
andrew@0 | 13 // pass in width and height too: |
andrew@0 | 14 ofRunApp( new testApp()); |
andrew@0 | 15 |
andrew@0 | 16 } |