summaryrefslogtreecommitdiff
path: root/vfg/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@gray.(none)>2012-11-01 21:10:31 +0000
committerTim Redfern <tim@gray.(none)>2012-11-01 21:10:31 +0000
commitc31a609399c2e05a50a5df8be10049903521c9e7 (patch)
tree246c2c9a67ad0fc8b7473006d0763ab8bbf22675 /vfg/src/main.cpp
initial commit
Diffstat (limited to 'vfg/src/main.cpp')
-rwxr-xr-xvfg/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/vfg/src/main.cpp b/vfg/src/main.cpp
new file mode 100755
index 0000000..6a32c6a
--- /dev/null
+++ b/vfg/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());
+
+}