diff options
Diffstat (limited to 'vamphost/src/main.cpp')
| -rw-r--r-- | vamphost/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vamphost/src/main.cpp b/vamphost/src/main.cpp new file mode 100644 index 0000000..1ef19ab --- /dev/null +++ b/vamphost/src/main.cpp @@ -0,0 +1,17 @@ + +#include "testApp.h" +#include "ofMain.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1024,768, OF_FULLSCREEN); // <-------- 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()); + +} |
