diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-08-21 15:44:11 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-08-21 15:44:11 +0100 |
| commit | 621674d6e9fb0024645cd0020c6afb51e4b4a7e9 (patch) | |
| tree | a9e4fbda9ff8afd13dab0228de83c7041101947c /gaunt01/src/main.cpp | |
| parent | fbc66a871153a8b85006e49f755cc8fb540781f7 (diff) | |
had enough
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..1f3ac12 --- /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_FULLSCREEN ); // <-------- setup the GL context + printf("%ix%i on screen %ix%i\n",ofGetWidth(),ofGetHeight(),ofGetScreenWidth(),ofGetScreenHeight()); + // this kicks off the running of my app + // can be OF_WINDOW or OF_FULLSCREEN + // pass in width and height too: + ofRunApp( new testApp()); + +} |
