diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-21 00:14:05 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-21 00:14:05 +0000 |
| commit | d1324e15200f944fc6d9ea7e0bf60ded109f6d29 (patch) | |
| tree | 713c885bb7e2536dd1978c655ac5860b241c41d5 /gaunt01/src/main.cpp | |
initial commit
Diffstat (limited to 'gaunt01/src/main.cpp')
| -rw-r--r-- | gaunt01/src/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gaunt01/src/main.cpp b/gaunt01/src/main.cpp new file mode 100644 index 0000000..6a32c6a --- /dev/null +++ b/gaunt01/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()); + +} |
