diff options
| author | Mick Grierson <mickgrierson@gmail.com> | 2011-10-31 17:10:28 +0000 |
|---|---|---|
| committer | Mick Grierson <mickgrierson@gmail.com> | 2011-10-31 17:10:28 +0000 |
| commit | 086644237c0ed96383be68d4772623332d860473 (patch) | |
| tree | 96a279125a6b11a4a43761669a5e48c33ca6e574 /ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp | |
| parent | 09eb47749f4d866228c884c9cb0462b883901953 (diff) | |
ofxMaxim Examples updated. Tested on XCode 4 with ofxiPhone 007 and iOS 5 - everything works.
Diffstat (limited to 'ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp')
| -rw-r--r-- | ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp b/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp new file mode 100644 index 0000000..6a32c6a --- /dev/null +++ b/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1024,768, 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()); + +} |
