]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/dbus: fix compilation when GBM && !OPENGL
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 15 May 2023 13:23:48 +0000 (17:23 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 31 May 2023 06:42:37 +0000 (09:42 +0300)
commit9e36edcf03f8fe236a92ca20e44048d6cc8f8cba
tree3c84e9ec37b1e9e07c21ea929480ae45fb34a84e
parente0baf24b4aa87f70b6bf08a1d578a31ad94ee0cb
ui/dbus: fix compilation when GBM && !OPENGL

commit 4814d3cbf ("ui/dbus: restrict opengl to gbm-enabled config")
assumes that whenever GBM is available, OpenGL is. This is not always
the case, let's further restrict opengl-related paths and fix some
compilation issues.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230515132348.1024663-1-marcandre.lureau@redhat.com>
(cherry picked from commit 0b31e48d62c8f3a282d1bffbcc0e90200df9f9f0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/dbus-listener.c