summaryrefslogtreecommitdiff
path: root/keyshade/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2017-10-16 16:24:04 +0100
committerTim Redfern <tim@getdrop.com>2017-10-16 16:24:04 +0100
commita3c99df80c201e56a32eb5fe650d45e9a9ccaee2 (patch)
tree5e070309793bf11d04e05919a3fb07b1e1157f62 /keyshade/src/main.cpp
parent5116dea8815de81ddaef299fdcae15f56ae3a87b (diff)
shader compiles
Diffstat (limited to 'keyshade/src/main.cpp')
-rw-r--r--keyshade/src/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyshade/src/main.cpp b/keyshade/src/main.cpp
new file mode 100644
index 0000000..6136697
--- /dev/null
+++ b/keyshade/src/main.cpp
@@ -0,0 +1,15 @@
+#include "ofMain.h"
+#include "ofApp.h"
+
+//========================================================================
+int main( ){
+
+ ofGLWindowSettings settings;
+ settings.setGLVersion(3,2);
+ ofCreateWindow(settings);
+ // this kicks off the running of my app
+ // can be OF_WINDOW or OF_FULLSCREEN
+ // pass in width and height too:
+ ofRunApp(new ofApp());
+
+}