diff options
| author | Comment <tim@gray.(none)> | 2013-06-16 15:17:38 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-06-16 15:17:38 +0100 |
| commit | f714b852416caeaa20c91c9b0336a7d067e28ddb (patch) | |
| tree | ab6f3ac12c5413b762899b797aff784d1a1c5b15 /04_playobjects/src/main.cpp | |
| parent | 10cda57dfc85867fcce98c83eb057d7ae4cfb381 (diff) | |
unsuccessful attempt to wrap oni player
Diffstat (limited to '04_playobjects/src/main.cpp')
| -rw-r--r-- | 04_playobjects/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/04_playobjects/src/main.cpp b/04_playobjects/src/main.cpp new file mode 100644 index 0000000..f0d25bb --- /dev/null +++ b/04_playobjects/src/main.cpp @@ -0,0 +1,17 @@ + +#include "testApp.h" +#include "ofMain.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1200,800, 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: + ofRunApp( new testApp()); + +} |
