summaryrefslogtreecommitdiff
path: root/menuApp/src/main.cpp
diff options
context:
space:
mode:
authortim <tim@eclectronics.org>2017-03-28 22:42:54 +0100
committertim <tim@eclectronics.org>2017-03-28 22:42:54 +0100
commitd3aa7d233596c7d4dae649df90e1176ed6be2c68 (patch)
treeaf26472972534fbcd806f18b4c2e5eb7ecaf6808 /menuApp/src/main.cpp
parentdd79b3578128b0bb82b42b71db99487775b60489 (diff)
starting deploy system
Diffstat (limited to 'menuApp/src/main.cpp')
-rw-r--r--menuApp/src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/menuApp/src/main.cpp b/menuApp/src/main.cpp
index dfd29a5..e0837f0 100644
--- a/menuApp/src/main.cpp
+++ b/menuApp/src/main.cpp
@@ -4,8 +4,11 @@
//========================================================================
int main( ){
+#ifdef FULLSCREEN
+ ofSetupOpenGL(1080*FACTOR, 1920*FACTOR,OF_FULLSCREEN);
+#else
ofSetupOpenGL(1080*FACTOR, 1920*FACTOR,OF_WINDOW); // <-------- setup the GL context
-
+#endif
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too: