summaryrefslogtreecommitdiff
path: root/06_performance/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '06_performance/src/main.cpp')
-rw-r--r--06_performance/src/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/06_performance/src/main.cpp b/06_performance/src/main.cpp
new file mode 100644
index 0000000..58263a2
--- /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
+
+
+
+ // this kicks off the running of my app
+ // can be OF_WINDOW or OF_FULLSCREEN
+ // pass in width and height too:
+
+ ofRunApp(new testApp);
+
+}