summaryrefslogtreecommitdiff
path: root/cvtest/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-05-14 19:00:08 +0100
committerTim Redfern <tim@eclectronics.org>2012-05-14 19:00:08 +0100
commitdbf9692b03ac2485f771993184222f7170e71cf2 (patch)
tree9a17e44304856b5daa9d91172eb40f6e1783b1da /cvtest/src/main.cpp
parente333ec0659a74899fbd75c5ed490089d0fd7d244 (diff)
working on background segmentation
Diffstat (limited to 'cvtest/src/main.cpp')
-rw-r--r--cvtest/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/cvtest/src/main.cpp b/cvtest/src/main.cpp
new file mode 100644
index 0000000..42c1e8d
--- /dev/null
+++ b/cvtest/src/main.cpp
@@ -0,0 +1,16 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 1280,480, OF_WINDOW ); // <-------- setup the GL context
+ printf("%ix%i on screen %ix%i\n",ofGetWidth(),ofGetHeight(),ofGetScreenWidth(),ofGetScreenHeight());
+ // this kicks off the running of my app
+ // can be OF_WINDOW or OF_FULLSCREEN
+ // pass in width and height too:
+ ofRunApp( new testApp());
+
+}