aboutsummaryrefslogtreecommitdiffstats
path: root/openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-10-27 17:05:12 +0000
committermick grierson <mickgrierson@gmail.com>2015-10-27 17:05:12 +0000
commit60341ac292bb9ba6f1d33632f8fd8e767c6a99d4 (patch)
treedd801de535997f2f6ff4fc6faab8cfc86c003b7a /openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp
parentbb210658ed2aa4eafa790197f84f3e24df22351b (diff)
clean up
Diffstat (limited to 'openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp')
-rw-r--r--openFrameworks/openFrameworksExamples/OSX/emptyExample/src/main.cpp14
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());
+
+}