summaryrefslogtreecommitdiff
path: root/testDir/src/main.cpp
diff options
context:
space:
mode:
authortim <tim@eclectronics.org>2017-05-22 21:31:33 +0100
committertim <tim@eclectronics.org>2017-05-22 21:31:33 +0100
commit6ae491eea38055ebe3ba1154f0e916d7bbf95040 (patch)
tree793783c9f82f0a30fcf78507c3c88d6cec6c6639 /testDir/src/main.cpp
parentc31d38915cb6643013223a4ed9b4021b3499d71d (diff)
directory reader in test case
Diffstat (limited to 'testDir/src/main.cpp')
-rw-r--r--testDir/src/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/testDir/src/main.cpp b/testDir/src/main.cpp
new file mode 100644
index 0000000..c8c5551
--- /dev/null
+++ b/testDir/src/main.cpp
@@ -0,0 +1,17 @@
+#include "ofMain.h"
+#include "ofApp.h"
+
+//========================================================================
+int main( ){
+
+#ifdef FULLSCREEN
+ ofSetupOpenGL(256,256,OF_FULLSCREEN);
+#else
+ ofSetupOpenGL(256,256,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:
+ ofRunApp( new ofApp());
+
+}