aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/src/main.cpp
diff options
context:
space:
mode:
authorChris Kiefer <chrisk13fer@gmail.com>2011-08-25 15:53:46 +0100
committerChris Kiefer <chrisk13fer@gmail.com>2011-08-25 15:53:46 +0100
commitf246be00cfd2ab25cb921552e9dd5a12c0605df7 (patch)
tree1591103bb4e73328e5e80cea43dc1ec4bede4336 /ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/src/main.cpp
parent955744bad39224a5c9d21d73790599b05a74b04b (diff)
parentffcfdd709c296f7304869e6a046ee1496f732b5b (diff)
Merge branch 'master' of github.com:micknoise/Maximilian
Diffstat (limited to 'ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/src/main.cpp')
-rw-r--r--ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/src/main.cpp b/ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/src/main.cpp
new file mode 100644
index 0000000..6a32c6a
--- /dev/null
+++ b/ofxMaxim/ofxMaximExamplesOSX/ofMaxim_example_fft/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());
+
+}