From 57b3561cced6aaec85d7f638b0f881a9fe6274c9 Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 26 Dec 2012 00:53:14 +0000 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..ee028c0 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(ofxFensterManager::get(),600,600, 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: + ofRunFensterApp( new testApp()); + +} -- cgit v1.2.3