diff options
author | falkTX <falktx@falktx.com> | 2019-10-01 17:49:58 +0100 |
---|---|---|
committer | falkTX <falktx@falktx.com> | 2019-10-01 17:49:58 +0100 |
commit | d2d3a4377634ab8e1db9f0a2cacc0a90966e1cd3 (patch) | |
tree | db0b193b99b1c068ea8ad5c5468304bc6f688e6c | |
parent | e69074ebfcb56aaf4e24fd672ab7a6b6581cec58 (diff) |
Only enable Info modgui if building for MOD
Signed-off-by: falkTX <falktx@falktx.com>
-rw-r--r-- | examples/Info/DistrhoPluginInfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/Info/DistrhoPluginInfo.h b/examples/Info/DistrhoPluginInfo.h index df72edcc..0f7184ff 100644 --- a/examples/Info/DistrhoPluginInfo.h +++ b/examples/Info/DistrhoPluginInfo.h @@ -26,10 +26,13 @@ #define DISTRHO_PLUGIN_NUM_INPUTS 2 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 #define DISTRHO_PLUGIN_WANT_TIMEPOS 1 -#define DISTRHO_PLUGIN_USES_MODGUI 1 #define DISTRHO_UI_USER_RESIZABLE 1 #define DISTRHO_UI_USE_NANOVG 1 +#ifdef __MOD_DEVICES__ +#define DISTRHO_PLUGIN_USES_MODGUI 1 +#endif + enum Parameters { kParameterBufferSize = 0, kParameterTimePlaying, |