Mercurial > hg > midi-score-follower
annotate matchAnnotationSrc/main.cpp @ 52:13194a9dca77 tip
Added exporting of image and text data
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 17 Jul 2012 22:13:10 +0100 |
parents | 3ce6dadd8167 |
children |
rev | line source |
---|---|
andrew@49 | 1 #include "ofMain.h" |
andrew@49 | 2 #include "testApp.h" |
andrew@49 | 3 #include "ofAppGlutWindow.h" |
andrew@49 | 4 |
andrew@49 | 5 //======================================================================== |
andrew@49 | 6 int main( ){ |
andrew@49 | 7 |
andrew@49 | 8 ofAppGlutWindow window; |
andrew@49 | 9 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
andrew@49 | 10 |
andrew@49 | 11 // this kicks off the running of my app |
andrew@49 | 12 // can be OF_WINDOW or OF_FULLSCREEN |
andrew@49 | 13 // pass in width and height too: |
andrew@49 | 14 ofRunApp( new testApp()); |
andrew@49 | 15 |
andrew@49 | 16 } |