From fbbc891991aaef716b7e56870faa25a11b169ef1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 12 Dec 2013 22:05:38 +0000 Subject: working setup for documentation: glitch gisabled --- 06_performance/src/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 06_performance/src/main.cpp (limited to '06_performance/src/main.cpp') diff --git a/06_performance/src/main.cpp b/06_performance/src/main.cpp new file mode 100644 index 0000000..39cf13a --- /dev/null +++ b/06_performance/src/main.cpp @@ -0,0 +1,17 @@ +#include "ofMain.h" +#include "testApp.h" + +//======================================================================== +int main( ){ + + //ofSetupOpenGL(4080,768, OF_WINDOW); // <-------- setup the GL context + //ofSetupOpenGL(2400,450, OF_WINDOW); // <-------- setup the GL context + ofSetupOpenGL(1920,360, 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