diff options
Diffstat (limited to 'ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example/src/main.cpp')
| -rw-r--r-- | ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example/src/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example/src/main.cpp b/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example/src/main.cpp new file mode 100644 index 0000000..312c54e --- /dev/null +++ b/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 800,600, 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()); + +} |
