diff options
| author | mick grierson <mickgrierson@gmail.com> | 2015-10-27 17:05:12 +0000 |
|---|---|---|
| committer | mick grierson <mickgrierson@gmail.com> | 2015-10-27 17:05:12 +0000 |
| commit | 60341ac292bb9ba6f1d33632f8fd8e767c6a99d4 (patch) | |
| tree | dd801de535997f2f6ff4fc6faab8cfc86c003b7a /openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp | |
| parent | bb210658ed2aa4eafa790197f84f3e24df22351b (diff) | |
clean up
Diffstat (limited to 'openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp')
| -rw-r--r-- | openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp b/openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp new file mode 100644 index 0000000..8bce185 --- /dev/null +++ b/openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp @@ -0,0 +1,14 @@ +#include "ofMain.h" +#include "ofApp.h" + +//======================================================================== +int main( ){ + + ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context + + // this kicks off the running of my app + // can be OF_WINDOW or OF_FULLSCREEN + // pass in width and height too: + ofRunApp( new ofApp()); + +} |
