summaryrefslogtreecommitdiff
path: root/distrho/src/DistrhoPluginChecks.h
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-11-01 13:55:41 +0100
committerFilipe Coelho <falktx@falktx.com>2019-01-06 19:10:11 +0100
commitd80c799b8cba2765c78ac6cee867f5c4fce869ac (patch)
treeaa9201ce5504d1be5fd10aeb4833f2c934f70753 /distrho/src/DistrhoPluginChecks.h
parentaeea76d93f9ed2397c9c86e9db72afedfa779f29 (diff)
software rendering with Cairo
Diffstat (limited to 'distrho/src/DistrhoPluginChecks.h')
-rw-r--r--distrho/src/DistrhoPluginChecks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrho/src/DistrhoPluginChecks.h b/distrho/src/DistrhoPluginChecks.h
index 24f25d8e..0d2fc94c 100644
--- a/distrho/src/DistrhoPluginChecks.h
+++ b/distrho/src/DistrhoPluginChecks.h
@@ -93,7 +93,7 @@
// Define DISTRHO_PLUGIN_HAS_EMBED_UI if needed
#ifndef DISTRHO_PLUGIN_HAS_EMBED_UI
-# ifdef HAVE_DGL
+# if defined(HAVE_DGL) || defined(HAVE_DCAIRO)
# define DISTRHO_PLUGIN_HAS_EMBED_UI 1
# else
# define DISTRHO_PLUGIN_HAS_EMBED_UI 0
@@ -135,7 +135,7 @@
// -----------------------------------------------------------------------
// Disable UI if DGL or External UI is not available
-#if DISTRHO_PLUGIN_HAS_UI && ! DISTRHO_PLUGIN_HAS_EXTERNAL_UI && ! defined(HAVE_DGL)
+#if DISTRHO_PLUGIN_HAS_UI && ! DISTRHO_PLUGIN_HAS_EXTERNAL_UI && ! defined(HAVE_DGL) && ! defined(HAVE_DCAIRO)
# undef DISTRHO_PLUGIN_HAS_UI
# define DISTRHO_PLUGIN_HAS_UI 0
#endif