ui/dbus: fix win32 compilation when !opengl
PATCH 1/1 ui/dbus: fix win32 compilation when !opengl
From: Marc-Andre Lureau <[email protected]>
Signed-off-by Marc-André Lureau <[email protected]>
--- ui/dbus-listener.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
ui/dbus-listener.c +3 -1
@@ -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,
Signature · 1 line
2.41.0
Quoted 8 lines · On 25/7/23 13:25, [email protected] wrote:
From: Marc-Andre Lureau <[email protected]>
Signed-off-by Marc-André Lureau <[email protected]>--- ui/dbus-listener.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 8 lines · On 25/7/23 13:25, [email protected] wrote:
From: Marc-Andre Lureau <[email protected]>
Signed-off-by Marc-André Lureau <[email protected]>--- ui/dbus-listener.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Thanks, queued via misc-fixes.