summaryrefslogtreecommitdiff
path: root/menuApp/src/main.cpp
diff options
context:
space:
mode:
authortim <tim@eclectronics.org>2017-03-21 22:10:44 +0000
committertim <tim@eclectronics.org>2017-03-21 22:10:44 +0000
commitd96c5943f817e63be4a3edb6ed3dfd33b919bd7a (patch)
tree15ad2ca6f22decff78b252aede937092a1dac0e4 /menuApp/src/main.cpp
initial commit
Diffstat (limited to 'menuApp/src/main.cpp')
-rw-r--r--menuApp/src/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/menuApp/src/main.cpp b/menuApp/src/main.cpp
new file mode 100644
index 0000000..dfd29a5
--- /dev/null
+++ b/menuApp/src/main.cpp
@@ -0,0 +1,14 @@
+#include "ofMain.h"
+#include "ofApp.h"
+
+//========================================================================
+int main( ){
+
+ ofSetupOpenGL(1080*FACTOR, 1920*FACTOR,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 ofApp());
+
+}