aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-08-14 19:17:40 +0100
committermick grierson <mickgrierson@gmail.com>2015-08-14 19:17:40 +0100
commit18ab896876b2d7ecaf4a4eda26a14e0999a8b396 (patch)
treec3fbd5db23369e304d1b4f2cfdc61749f24d2879 /ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp
parent0921f81dd5fc388d5327787f200e25aa5d1ac24e (diff)
adding addon .. er
Diffstat (limited to 'ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp')
-rwxr-xr-xofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp b/ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp
new file mode 100755
index 0000000..312c54e
--- /dev/null
+++ b/ofxMaxim/openFrameworksExamples/windows/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());
+
+}