summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2011-12-20 13:55:44 +0000
committerTim Redfern <tim@eclectronics.org>2011-12-20 13:55:44 +0000
commit3a0fe9a2700596abe8e29f042ca967f57cc014d7 (patch)
treef904f12f433542c09385631479c4c32a8382a3ce /src/main.cpp
initial show versionHEADmaster
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100755
index 0000000..6809b1c
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,17 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ //ofSetupOpenGL(&window, 1440,900, OF_FULLSCREEN); // <-------- setup the GL context
+ ofSetupOpenGL(&window, 1024,768, OF_FULLSCREEN);
+
+ // this kicks off the running of my app
+ // can be OF_WINDOW or OF_FULLSCREEN
+ // pass in width and height too:
+ ofRunApp( new testApp());
+
+}