aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/ofMaximExample007OSX_Granular/src/main.cpp
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@gmail.com>2012-04-26 13:10:53 +0100
committerMick Grierson <mickgrierson@gmail.com>2012-04-26 13:10:53 +0100
commit62b43e8f32af364cbc8e46fffed2854c27533acc (patch)
treedf3847f7a649db853df547096f704dbc45cd9e96 /ofxMaxim/ofMaximExample007OSX_Granular/src/main.cpp
parent8c23fae3b55609bececab93003d7633f58ece083 (diff)
new oF 007 granular pitch stretch example
Diffstat (limited to 'ofxMaxim/ofMaximExample007OSX_Granular/src/main.cpp')
-rw-r--r--ofxMaxim/ofMaximExample007OSX_Granular/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofMaximExample007OSX_Granular/src/main.cpp b/ofxMaxim/ofMaximExample007OSX_Granular/src/main.cpp
new file mode 100644
index 0000000..6a32c6a
--- /dev/null
+++ b/ofxMaxim/ofMaximExample007OSX_Granular/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());
+
+}