summaryrefslogtreecommitdiff
path: root/07_performance/src/main.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-06-28 23:32:10 +0100
committerComment <tim@gray.(none)>2013-06-28 23:32:10 +0100
commit1a7e15a63d78a6351028d977b90052f6b0d6bf7d (patch)
tree8345507e9c4dd871cd08eb884fe8b9fe2816137d /07_performance/src/main.cpp
parentfd8dc2aa23c4bbc297e835e4f920aaf5342aba5e (diff)
first performance version
Diffstat (limited to '07_performance/src/main.cpp')
-rw-r--r--07_performance/src/main.cpp18
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);
+
+}