From bc8d2ebccb48531c7d32d63c608561e495cbd7a3 Mon Sep 17 00:00:00 2001 From: mick grierson Date: Mon, 29 Jun 2015 16:01:29 +0100 Subject: updating examples --- .../examples/windows/ofMaximExampleVS2010/src/main.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp (limited to 'ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp') diff --git a/ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp b/ofxMaxim/examples/windows/ofMaximExampleVS2010/src/main.cpp new file mode 100755 index 0000000..6a32c6a --- /dev/null +++ b/ofxMaxim/examples/windows/ofMaximExampleVS2010/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