From 18ab896876b2d7ecaf4a4eda26a14e0999a8b396 Mon Sep 17 00:00:00 2001 From: mick grierson Date: Fri, 14 Aug 2015 19:17:40 +0100 Subject: adding addon .. er --- .../ofMaximWindowsVS2008_emptyExample/src/main.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp (limited to 'ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp') diff --git a/ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp b/ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp new file mode 100755 index 0000000..312c54e --- /dev/null +++ b/ofxMaxim/openFrameworksExamples/windows/ofMaximWindowsVS2008_emptyExample/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 800,600, 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