diff options
author | Marc-Andre Lureau <marcandre.lureau@redhat.com> | 2023-07-25 15:25:40 +0400 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-01 23:52:23 +0200 |
commit | 866b24e4c3d27b5b8bedd741bb92b62b9fa58044 (patch) | |
tree | 46f484ebf77052253e98aca55273c4d1ad6a8ed5 /ui/dbus-listener.c | |
parent | 75a87af9b228ca7d14902a9390fe5e83c4898eb0 (diff) |
ui/dbus: fix win32 compilation when !opengl
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1782
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230725112540.53284-1-marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'ui/dbus-listener.c')
-rw-r--r-- | ui/dbus-listener.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/dbus-listener.c b/ui/dbus-listener.c index 68ff343799..02fc6ae239 100644 --- a/ui/dbus-listener.c +++ b/ui/dbus-listener.c @@ -338,6 +338,7 @@ static bool dbus_scanout_map(DBusDisplayListener *ddl) return true; } +#ifdef CONFIG_OPENGL static bool dbus_scanout_share_d3d_texture( DBusDisplayListener *ddl, @@ -399,7 +400,8 @@ dbus_scanout_share_d3d_texture( return true; } -#endif +#endif /* CONFIG_OPENGL */ +#endif /* WIN32 */ #ifdef CONFIG_OPENGL static void dbus_scanout_texture(DisplayChangeListener *dcl, |