diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-08-09 20:14:02 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-08-09 20:14:02 +0100 |
| commit | b3548f90171f0be1ebfd7020f38f3d0acec65f8b (patch) | |
| tree | 76698256f9cf4edb797f7996e36edc8e4bf92f83 /liveengine/src/main.cpp | |
initial commit
Diffstat (limited to 'liveengine/src/main.cpp')
| -rw-r--r-- | liveengine/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/liveengine/src/main.cpp b/liveengine/src/main.cpp new file mode 100644 index 0000000..f5eaddd --- /dev/null +++ b/liveengine/src/main.cpp @@ -0,0 +1,17 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 400,300, OF_WINDOW); // <-------- setup the GL context + //ofSetupOpenGL(&window, 1024,768, OF_WINDOW); + + // this kicks off the running of my app + // can be OF_WINDOW or OF_FULLSCREEN + // pass in width and height too: + ofRunApp( new testApp()); + +} |
