mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
75a87af9b2
commit
866b24e4c3
|
@ -338,6 +338,7 @@ static bool dbus_scanout_map(DBusDisplayListener *ddl)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_OPENGL
|
||||||
static bool
|
static bool
|
||||||
dbus_scanout_share_d3d_texture(
|
dbus_scanout_share_d3d_texture(
|
||||||
DBusDisplayListener *ddl,
|
DBusDisplayListener *ddl,
|
||||||
|
@ -399,7 +400,8 @@ dbus_scanout_share_d3d_texture(
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* CONFIG_OPENGL */
|
||||||
|
#endif /* WIN32 */
|
||||||
|
|
||||||
#ifdef CONFIG_OPENGL
|
#ifdef CONFIG_OPENGL
|
||||||
static void dbus_scanout_texture(DisplayChangeListener *dcl,
|
static void dbus_scanout_texture(DisplayChangeListener *dcl,
|
||||||
|
|
Loading…
Reference in New Issue