summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2012-12-26 00:53:14 +0000
committerComment <tim@gray.(none)>2012-12-26 00:53:14 +0000
commit57b3561cced6aaec85d7f638b0f881a9fe6274c9 (patch)
treee85fb94cd39c4e3f720b15b1604dc1956341b5db /src/main.cpp
initial commit
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100755
index 0000000..ee028c0
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,16 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ ofSetupOpenGL(ofxFensterManager::get(),600,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:
+ ofRunFensterApp( new testApp());
+
+}