summaryrefslogtreecommitdiff
path: root/osctest/src/main.cpp
diff options
context:
space:
mode:
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());
+
+}