From f714b852416caeaa20c91c9b0336a7d067e28ddb Mon Sep 17 00:00:00 2001 From: Comment Date: Sun, 16 Jun 2013 15:17:38 +0100 Subject: unsuccessful attempt to wrap oni player --- 04_playobjects/src/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 04_playobjects/src/main.cpp (limited to '04_playobjects/src/main.cpp') diff --git a/04_playobjects/src/main.cpp b/04_playobjects/src/main.cpp new file mode 100644 index 0000000..f0d25bb --- /dev/null +++ b/04_playobjects/src/main.cpp @@ -0,0 +1,17 @@ + +#include "testApp.h" +#include "ofMain.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1200,800, 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()); + +} -- cgit v1.2.3