diff options
Diffstat (limited to 'ofxMaxim/openFrameworksExamples/OSX/emptyExample/src/main.cpp')
| -rw-r--r-- | ofxMaxim/openFrameworksExamples/OSX/emptyExample/src/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ofxMaxim/openFrameworksExamples/OSX/emptyExample/src/main.cpp b/ofxMaxim/openFrameworksExamples/OSX/emptyExample/src/main.cpp new file mode 100644 index 0000000..8bce185 --- /dev/null +++ b/ofxMaxim/openFrameworksExamples/OSX/emptyExample/src/main.cpp @@ -0,0 +1,14 @@ +#include "ofMain.h" +#include "ofApp.h" + +//======================================================================== +int main( ){ + + ofSetupOpenGL(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 ofApp()); + +} |
