From 54e7a97044d3dcefc82c2b0ef929f0eb5b2cd76c Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 20 May 2013 09:30:42 +0100 Subject: some reorganisation --- 03_play/src/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 03_play/src/main.cpp (limited to '03_play/src/main.cpp') diff --git a/03_play/src/main.cpp b/03_play/src/main.cpp new file mode 100644 index 0000000..87dc35f --- /dev/null +++ b/03_play/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