aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-06-29 15:57:31 +0100
committermick grierson <mickgrierson@gmail.com>2015-06-29 15:57:31 +0100
commitb86dfa8f6f99713ee4605c30ebb1a58309aaeb8a (patch)
tree519c6acfe487d3d2f844b21c4d1d062670c57ee3 /ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp
parent440498446db27a6883de668ebf407f489c979016 (diff)
Updating post-hackday
Diffstat (limited to 'ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp')
-rw-r--r--ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp b/ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp
new file mode 100644
index 0000000..eca7e09
--- /dev/null
+++ b/ofxMaxim/OF0.8.4MaximExtractorExample/src/main.cpp
@@ -0,0 +1,16 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 1024,768, 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 testApp());
+
+}