diff options
| author | Tim Redfern <tim@getdrop.com> | 2017-10-25 22:25:58 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2017-10-25 22:25:58 +0100 |
| commit | 3426aeebba3ec51e6b6bf7e1f0de947c97f97a36 (patch) | |
| tree | d1c716370177e9d1ba4ca48c6df38a33cee3215d /gui/src/main.cpp | |
| parent | 299c565b6295eaee1248c0409a412e008ddbd836 (diff) | |
an improvement
Diffstat (limited to 'gui/src/main.cpp')
| -rw-r--r-- | gui/src/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/src/main.cpp b/gui/src/main.cpp index 521be02..d58e5e2 100644 --- a/gui/src/main.cpp +++ b/gui/src/main.cpp @@ -1,6 +1,8 @@ #include "ofMain.h" #include "ofApp.h" +//#define GPU_ALGORITHM + //======================================================================== int main(int argc, char *argv[]){ /* @@ -19,6 +21,11 @@ int main(int argc, char *argv[]){ //app->arguments = vector<string>(argv, argv + argc); ofGLFWWindowSettings settings; + +#ifdef GPU_ALGORITHM + settings.setGLVersion(3,2); //doesn't support gluLookat +#endif //GPU_ALGORITHM + settings.width = 1024; settings.height = 576; settings.setPosition(ofVec2f(300,0)); |
