summaryrefslogtreecommitdiff
path: root/oscReceiveExample/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'oscReceiveExample/src/main.cpp')
-rw-r--r--oscReceiveExample/src/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/oscReceiveExample/src/main.cpp b/oscReceiveExample/src/main.cpp
new file mode 100644
index 0000000..b156efd
--- /dev/null
+++ b/oscReceiveExample/src/main.cpp
@@ -0,0 +1,14 @@
+#include "ofMain.h"
+#include "ofApp.h"
+
+//========================================================================
+int main( ){
+
+ ofSetupOpenGL(640,480, 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());
+
+}