]> git.proxmox.com Git - mirror_qemu.git/commit
ui/spice: Use HAVE_SPICE_GL for OpenGL checks
authorAkihiko Odaki <akihiko.odaki@gmail.com>
Wed, 14 Jul 2021 05:57:35 +0000 (14:57 +0900)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 26 Jul 2021 08:24:49 +0000 (10:24 +0200)
commit9a6c69d389c0492a57c439dc3babbd0f9da2555e
tree49b32cd8a4c736efe343e912ea20f0ba599310ae
parentcd6c768f6a4f65a65bd44bdec0638b7fd861ceb1
ui/spice: Use HAVE_SPICE_GL for OpenGL checks

Some code in ui/spice used CONFIG_OPENGL for OpenGL conditionals, but
SPICE also depends on CONFIG_GBM and SPICE server whose version is
0.13.1 or later for OpenGL. Always use HAVE_SPICE_GL, which defines the
precise condition.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210714055735.86050-1-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-app.c
ui/spice-core.c