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/ofApp.cpp | |
| parent | 299c565b6295eaee1248c0409a412e008ddbd836 (diff) | |
an improvement
Diffstat (limited to 'gui/src/ofApp.cpp')
| -rw-r--r-- | gui/src/ofApp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp index afdaf4f..f2fb8fb 100644 --- a/gui/src/ofApp.cpp +++ b/gui/src/ofApp.cpp @@ -77,7 +77,11 @@ void ofApp::drawOutput(ofEventArgs & args){ for (int i=0;i<sets.size();i++){ +#ifdef GPU_ALGORITHM + sets[i].drawGpu(); +#else sets[i].drawOutput(); +#endif //GPU_ALGORITHM } if (dmx.isConnected()&&ofGetElapsedTimef()>next_update){ |
