From b3548f90171f0be1ebfd7020f38f3d0acec65f8b Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 9 Aug 2012 20:14:02 +0100 Subject: initial commit --- liveengine/src/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 liveengine/src/main.cpp (limited to 'liveengine/src/main.cpp') 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()); + +} -- cgit v1.2.3