From 086644237c0ed96383be68d4772623332d860473 Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Mon, 31 Oct 2011 17:10:28 +0000 Subject: ofxMaxim Examples updated. Tested on XCode 4 with ofxiPhone 007 and iOS 5 - everything works. --- .../ofMaxim_example_granular/src/main.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp (limited to 'ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp') diff --git a/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp b/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/src/main.cpp new file mode 100644 index 0000000..6a32c6a --- /dev/null +++ b/ofxMaxim/ofxMaximExamples0062OSX/ofMaxim_example_granular/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()); + +} -- cgit v1.3