Skip to contentSkip to conversation

ui/dbus: fix win32 compilation when !opengl

PATCH In review [email protected] 2 participants 3 messages Jul 25, 2023 – Aug 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/dbus: fix win32 compilation when !opengl

From: Marc-Andre Lureau <[email protected]>

---
 ui/dbus-listener.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
ui/dbus-listener.c +3 -1
index 68ff343799..02fc6ae239 100644
@@ -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