aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-06-29 16:01:29 +0100
committermick grierson <mickgrierson@gmail.com>2015-06-29 16:01:29 +0100
commitbc8d2ebccb48531c7d32d63c608561e495cbd7a3 (patch)
tree19c21a5cd23427126c7639697c705dada452a308 /ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp
parentb86dfa8f6f99713ee4605c30ebb1a58309aaeb8a (diff)
updating examples
Diffstat (limited to 'ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp')
-rwxr-xr-xofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp b/ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp
new file mode 100755
index 0000000..6a32c6a
--- /dev/null
+++ b/ofxMaxim/examples/windows/ofMaximExampleVS2010/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());
+
+}