summaryrefslogtreecommitdiff
path: root/menuApp/src/main.cpp
diff options
context:
space:
mode:
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: