From 639dfe9190c06bba4dced32f282ad1fddc573b59 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 12 Sep 2012 15:59:45 +0100 Subject: working nicely with fenster --- liveengine/src/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 liveengine/src/main.cpp (limited to 'liveengine/src/main.cpp') diff --git a/liveengine/src/main.cpp b/liveengine/src/main.cpp old mode 100644 new mode 100755 index 41470a2..28ab04b --- a/liveengine/src/main.cpp +++ b/liveengine/src/main.cpp @@ -1,17 +1,20 @@ #include "ofMain.h" #include "testApp.h" +#include "ofxFensterManager.h" #include "ofAppGlutWindow.h" //======================================================================== int main( ){ ofAppGlutWindow window; - ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context + ofSetupOpenGL(ofxFensterManager::get(),1024,768, OF_WINDOW); + //ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context //ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // this kicks off the running of my app // can be OF_WINDOW or OF_FULLSCREEN // pass in width and height too: - ofRunApp( new testApp()); + //ofRunApp( new testApp()); + ofRunFensterApp( new testApp()); } -- cgit v1.2.3