diff options
author | falkTX <falktx@gmail.com> | 2019-01-07 01:10:57 +0100 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2019-01-07 01:10:57 +0100 |
commit | 204fbeb807d604042c4cd3fcb076df7906521739 (patch) | |
tree | 5954583a17cf73b4cff5f1f16357b19cb460070f /distrho/src/DistrhoPluginChecks.h | |
parent | a3006690997424238f4eac1c1f588cddb671909e (diff) |
Adjustments for Cairo, and general cleanup
Signed-off-by: falkTX <falktx@gmail.com>
Diffstat (limited to 'distrho/src/DistrhoPluginChecks.h')
-rw-r--r-- | distrho/src/DistrhoPluginChecks.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrho/src/DistrhoPluginChecks.h b/distrho/src/DistrhoPluginChecks.h index 0d2fc94c..d52fb20d 100644 --- a/distrho/src/DistrhoPluginChecks.h +++ b/distrho/src/DistrhoPluginChecks.h @@ -1,6 +1,6 @@ /* * DISTRHO Plugin Framework (DPF) - * Copyright (C) 2012-2016 Filipe Coelho <falktx@falktx.com> + * Copyright (C) 2012-2019 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this @@ -93,7 +93,7 @@ // Define DISTRHO_PLUGIN_HAS_EMBED_UI if needed #ifndef DISTRHO_PLUGIN_HAS_EMBED_UI -# if defined(HAVE_DGL) || defined(HAVE_DCAIRO) +# if defined(HAVE_CAIRO) || defined(HAVE_OPENGL) # 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) && ! defined(HAVE_DCAIRO) +#if DISTRHO_PLUGIN_HAS_UI && ! DISTRHO_PLUGIN_HAS_EXTERNAL_UI && ! defined(HAVE_CAIRO) && ! defined(HAVE_OPENGL) # undef DISTRHO_PLUGIN_HAS_UI # define DISTRHO_PLUGIN_HAS_UI 0 #endif |