diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-09-12 15:59:45 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-09-12 15:59:45 +0100 |
| commit | 639dfe9190c06bba4dced32f282ad1fddc573b59 (patch) | |
| tree | 0e1e6e8cff18a3545ea2e509f108a5035daa6379 /liveengine/src/main.cpp | |
| parent | 8cba80bd1a624d424b1ef82b8c3394e30ae1bcf7 (diff) | |
working nicely with fenster
Diffstat (limited to 'liveengine/src/main.cpp')
| -rwxr-xr-x[-rw-r--r--] | liveengine/src/main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/liveengine/src/main.cpp b/liveengine/src/main.cpp index 41470a2..28ab04b 100644..100755 --- 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()); } |
