From 63971c9b5e2dcfa1b7e254cac9cac5629c776835 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 23 May 2013 18:19:13 +0100 Subject: rearrange folders: working vamp host --- 02_rec/src/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 02_rec/src/main.cpp (limited to '02_rec/src/main.cpp') diff --git a/02_rec/src/main.cpp b/02_rec/src/main.cpp new file mode 100644 index 0000000..87dc35f --- /dev/null +++ b/02_rec/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()); + +} -- cgit v1.2.3