summaryrefslogtreecommitdiff
path: root/oscReceiveExample/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-12-12 01:17:00 +0000
committerTim Redfern <tim@getdrop.com>2018-12-12 01:17:00 +0000
commit983d4a8a596a680edc9a1bc78a6b5b61b6486be5 (patch)
tree12c7616bd326fb773d61b843b52ee1c8961ecebf /oscReceiveExample/src/main.cpp
parentd59dff2cc79b63962009786cc19223fa5a197757 (diff)
mame vector receiver
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());
+
+}