Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elmarco authored and philmd committed Aug 1, 2023
1 parent 75a87af commit 866b24e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/dbus-listener.c
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 866b24e

Please sign in to comment.