diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-12 22:05:38 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-12 22:05:38 +0000 |
| commit | fbbc891991aaef716b7e56870faa25a11b169ef1 (patch) | |
| tree | 1cc49cca41a2a6f4b769d48eb3189d24410f9f04 /07_performance/src/main.cpp | |
Diffstat (limited to '07_performance/src/main.cpp')
| -rw-r--r-- | 07_performance/src/main.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/07_performance/src/main.cpp b/07_performance/src/main.cpp new file mode 100644 index 0000000..71c3117 --- /dev/null +++ b/07_performance/src/main.cpp @@ -0,0 +1,18 @@ +#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(ofxFensterManager::get(),4080,768, OF_WINDOW); //2048,768 + + + // this kicks off the running of my app + // can be OF_WINDOW or OF_FULLSCREEN + // pass in width and height too: + + ofRunFensterApp(new testApp); + +} |
