summaryrefslogtreecommitdiff
path: root/osctest/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-04-24 21:28:56 +0100
committerTim Redfern <tim@getdrop.com>2018-04-24 21:28:56 +0100
commit880f710768391dc3a3399fc1896447a9e6c34fa4 (patch)
tree8856fe5d8eb847396a72ead3d9c3a49418cc0feb /osctest/src/main.cpp
parent60e218550dd4f584da2f6f74ffc755f5f34c20a7 (diff)
osctest for projection sync
Diffstat (limited to 'osctest/src/main.cpp')
-rw-r--r--osctest/src/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/osctest/src/main.cpp b/osctest/src/main.cpp
new file mode 100644
index 0000000..372cbf9
--- /dev/null
+++ b/osctest/src/main.cpp
@@ -0,0 +1,13 @@
+#include "ofMain.h"
+#include "ofApp.h"
+
+//========================================================================
+int main( ){
+ ofSetupOpenGL(400,300, 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());
+
+}