diff options
| author | Mick Grierson <mickgrierson@gmail.com> | 2012-02-06 11:51:11 +0000 |
|---|---|---|
| committer | Mick Grierson <mickgrierson@gmail.com> | 2012-02-23 17:05:56 +0000 |
| commit | ea437a1b13955c474935914cc4237c4962102b8a (patch) | |
| tree | af0e6954a38589df5fee0661711c680de0f76dd7 /ofxMaxim/ofMaximExampleVS2010/src/main.cpp | |
| parent | d647b04d1526e87981fa202fd1549fa6c3cc106e (diff) | |
Added VS2010 Basic Example
just uses maximilian. There's a small change due to some bout
weirdness.
Diffstat (limited to 'ofxMaxim/ofMaximExampleVS2010/src/main.cpp')
| -rwxr-xr-x | ofxMaxim/ofMaximExampleVS2010/src/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofMaximExampleVS2010/src/main.cpp b/ofxMaxim/ofMaximExampleVS2010/src/main.cpp new file mode 100755 index 0000000..6a32c6a --- /dev/null +++ b/ofxMaxim/ofMaximExampleVS2010/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()); + +} |
