From e2e45966d7a3ca7673bdbaadef5b5e8a38b0ff78 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 11 Oct 2012 19:43:47 +0100 Subject: initial commit --- src/main.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 src/main.cpp (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp new file mode 100755 index 0000000..e502a4d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 640,480, 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()); + +} -- cgit v1.2.3