diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-05-20 09:30:42 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-05-20 09:30:42 +0100 |
| commit | 54e7a97044d3dcefc82c2b0ef929f0eb5b2cd76c (patch) | |
| tree | 2cc06a437a3f65b0ff91faded33467529b7b8aaa /03_play/src/main.cpp | |
| parent | cb7ec4965e6ec3d2142522c5c110b240f800e55d (diff) | |
some reorganisation
Diffstat (limited to '03_play/src/main.cpp')
| -rw-r--r-- | 03_play/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/03_play/src/main.cpp b/03_play/src/main.cpp new file mode 100644 index 0000000..87dc35f --- /dev/null +++ b/03_play/src/main.cpp @@ -0,0 +1,17 @@ + +#include "testApp.h" +#include "ofMain.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1600,900, OF_FULLSCREEN); // <-------- 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()); + +} |
