diff options
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..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()); + +} |
