diff options
| author | Comment <tim@gray.(none)> | 2013-05-21 01:07:24 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-05-21 01:07:24 +0100 |
| commit | 322ce92fbd477395657c64593d1d1bf9a9b6f620 (patch) | |
| tree | 94eb7d8c763cb0a34f68e8e440fec1b6708bf697 /03_play/src/main.cpp | |
| parent | e453cc17916908104467875db31e3fa08817cce1 (diff) | |
| parent | 35238aa2953051ec0de131af06730b883fe6483c (diff) | |
split
Merge branch 'master' of eclectronics.org@eclectronics.org:TRSS
Diffstat (limited to '03_play/src/main.cpp')
| -rw-r--r-- | 03_play/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/03_play/src/main.cpp b/03_play/src/main.cpp new file mode 100644 index 0000000..87dc35f --- /dev/null +++ b/03_play/src/main.cpp @@ -0,0 +1,17 @@ + +#include "testApp.h" +#include "ofMain.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1600,900, OF_FULLSCREEN); // <-------- 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: + ofRunApp( new testApp()); + +} |
