aboutsummaryrefslogtreecommitdiffstats
path: root/openFrameworks/openFrameworksExamples/windows/ofMaximExampleVS2010/src/main.cpp
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-10-27 17:05:12 +0000
committermick grierson <mickgrierson@gmail.com>2015-10-27 17:05:12 +0000
commit60341ac292bb9ba6f1d33632f8fd8e767c6a99d4 (patch)
treedd801de535997f2f6ff4fc6faab8cfc86c003b7a /openFrameworks/openFrameworksExamples/windows/ofMaximExampleVS2010/src/main.cpp
parentbb210658ed2aa4eafa790197f84f3e24df22351b (diff)
clean up
Diffstat (limited to 'openFrameworks/openFrameworksExamples/windows/ofMaximExampleVS2010/src/main.cpp')
-rwxr-xr-xopenFrameworks/openFrameworksExamples/windows/ofMaximExampleVS2010/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/openFrameworks/openFrameworksExamples/windows/ofMaximExampleVS2010/src/main.cpp b/openFrameworks/openFrameworksExamples/windows/ofMaximExampleVS2010/src/main.cpp
new file mode 100755
index 0000000..6a32c6a
--- /dev/null
+++ b/openFrameworks/openFrameworksExamples/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());
+
+}