aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@strangebook.local>2011-08-23 18:23:16 +0100
committerMick Grierson <mickgrierson@strangebook.local>2011-08-23 18:23:16 +0100
commitcade501837381117c7e4f876fe32ce86920f79d3 (patch)
treefdf71df7fc39fa27ff26610e6d852e09c797015a /ofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp
parentc1e3480c26c5a7c6f2cb6977a0c798f6a54a32f8 (diff)
added ofxMaxim
Diffstat (limited to 'ofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp')
-rwxr-xr-xofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp b/ofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp
new file mode 100755
index 0000000..312c54e
--- /dev/null
+++ b/ofxMaxim/ofMaximWindowsVS2008_emptyExample/src/main.cpp
@@ -0,0 +1,16 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 800,600, 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());
+
+}