summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2019-09-26 05:17:32 +0100
committerfalkTX <falktx@falktx.com>2019-09-26 05:17:32 +0100
commit3a0f7e13c732e77642e19be5b902bb4f539b9f85 (patch)
tree7c141147198f7f2b8b5ec3c32e8519ea81ae2e8e
parenta7a7b47e9a8246d91dc882150f4516d012483a55 (diff)
Being pedantic
-rw-r--r--distrho/src/DistrhoPluginChecks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/distrho/src/DistrhoPluginChecks.h b/distrho/src/DistrhoPluginChecks.h
index 6e2ba5b5..1bdb5a48 100644
--- a/distrho/src/DistrhoPluginChecks.h
+++ b/distrho/src/DistrhoPluginChecks.h
@@ -97,7 +97,7 @@
// Define DISTRHO_PLUGIN_HAS_EMBED_UI if needed
#ifndef DISTRHO_PLUGIN_HAS_EMBED_UI
-# if defined(HAVE_CAIRO) || defined(HAVE_OPENGL)
+# if (defined(DGL_CAIRO) && defined(HAVE_CAIRO)) || (defined(DGL_OPENGL) && defined(HAVE_OPENGL))
# define DISTRHO_PLUGIN_HAS_EMBED_UI 1
# else
# define DISTRHO_PLUGIN_HAS_EMBED_UI 0