diff options
| author | tim <tim@eclectronics.org> | 2017-06-13 21:57:54 +0100 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2017-06-13 21:57:54 +0100 |
| commit | e7d2892633ba9761a8ab8cc98f812e2db89e8beb (patch) | |
| tree | f1657ba4a6e449da416051e9851c59b7e4b96cae /testDir/src/main.cpp | |
| parent | 2c3cdaa27878b6dfa23fae35239037f20f3ae6b1 (diff) | |
| parent | a0e8fefd1bf241b805c4542421bdbc6a4447fdc3 (diff) | |
Merge branch 'dirscanner'
Diffstat (limited to 'testDir/src/main.cpp')
| -rw-r--r-- | testDir/src/main.cpp | 17 |
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..120f5a0 --- /dev/null +++ b/testDir/src/main.cpp @@ -0,0 +1,17 @@ +#include "ofMain.h" +#include "ofApp.h" + +//======================================================================== +int main( ){ + +#ifdef FULLSCREEN + ofSetupOpenGL(1080,1920,OF_FULLSCREEN); +#else + ofSetupOpenGL(1080,1920,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()); + +} |
