aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/ofMaxim007Example/src/main.cpp
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@strangebook.lan>2011-08-24 00:40:40 +0100
committerMick Grierson <mickgrierson@strangebook.lan>2011-08-24 00:40:40 +0100
commit0a330814feeeca4feb53af18881df1fc962c6cea (patch)
tree01b435374ac3c91c5e430f8378a86ae340492851 /ofxMaxim/ofMaxim007Example/src/main.cpp
parentcade501837381117c7e4f876fe32ce86920f79d3 (diff)
added ofxMaxim 007 example
Diffstat (limited to 'ofxMaxim/ofMaxim007Example/src/main.cpp')
-rw-r--r--ofxMaxim/ofMaxim007Example/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofMaxim007Example/src/main.cpp b/ofxMaxim/ofMaxim007Example/src/main.cpp
new file mode 100644
index 0000000..6a32c6a
--- /dev/null
+++ b/ofxMaxim/ofMaxim007Example/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());
+
+}