aboutsummaryrefslogtreecommitdiff
path: root/include/ui/spice-display.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/spice-display.h')
-rw-r--r--include/ui/spice-display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h
index 4a47ffdd4c..ed298d58f0 100644
--- a/include/ui/spice-display.h
+++ b/include/ui/spice-display.h
@@ -27,7 +27,7 @@
#include "ui/qemu-pixman.h"
#include "ui/console.h"
-#if defined(CONFIG_OPENGL_DMABUF)
+#if defined(CONFIG_OPENGL) && defined(CONFIG_GBM)
# if SPICE_SERVER_VERSION >= 0x000d01 /* release 0.13.1 */
# define HAVE_SPICE_GL 1
# include "ui/egl-helpers.h"