diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-10-11 19:43:47 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-10-11 19:43:47 +0100 |
| commit | e2e45966d7a3ca7673bdbaadef5b5e8a38b0ff78 (patch) | |
| tree | 0a93d0d044b51f808658124761ac85afdcb23fae /src/main.cpp | |
initial commit
Diffstat (limited to 'src/main.cpp')
| -rwxr-xr-x | src/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp new file mode 100755 index 0000000..e502a4d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 640,480, 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()); + +} |
