From f2fa6a5f356abfe4b55ff12a5178d8dec26f0c0d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 12 Jun 2008 16:02:07 +0100 Subject: [PATCH] disable-opengl entry in option table should be inside CONFIG_OPENGL --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index b84d2f673..b4c0eec5a 100644 --- a/vl.c +++ b/vl.c @@ -7536,7 +7536,9 @@ const QEMUOption qemu_options[] = { { "alt-grab", 0, QEMU_OPTION_alt_grab }, { "no-quit", 0, QEMU_OPTION_no_quit }, #endif +#ifdef CONFIG_OPENGL { "disable-opengl", 0, QEMU_OPTION_disable_opengl }, +#endif CONFIG_OPENGL { "direct_pci", HAS_ARG, QEMU_OPTION_direct_pci }, { "pidfile", HAS_ARG, QEMU_OPTION_pidfile }, { "win2k-hack", 0, QEMU_OPTION_win2k_hack }, -- 2.39.5