qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ui/dbus: fix win32 compilation when !opengl
@ 2023-07-25 11:25 marcandre.lureau
  2023-07-25 12:52 ` Philippe Mathieu-Daudé
  2023-08-01 21:47 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 3+ messages in thread
From: marcandre.lureau @ 2023-07-25 11:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: thuth, Marc-Andre Lureau, Gerd Hoffmann

From: Marc-Andre Lureau <marcandre.lureau@redhat.com>

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1782

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 ui/dbus-listener.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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,
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ui/dbus: fix win32 compilation when !opengl
  2023-07-25 11:25 [PATCH] ui/dbus: fix win32 compilation when !opengl marcandre.lureau
@ 2023-07-25 12:52 ` Philippe Mathieu-Daudé
  2023-08-01 21:47 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-07-25 12:52 UTC (permalink / raw)
  To: marcandre.lureau, qemu-devel; +Cc: thuth, Gerd Hoffmann

On 25/7/23 13:25, marcandre.lureau@redhat.com wrote:
> From: Marc-Andre Lureau <marcandre.lureau@redhat.com>
> 
> Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1782
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>   ui/dbus-listener.c | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ui/dbus: fix win32 compilation when !opengl
  2023-07-25 11:25 [PATCH] ui/dbus: fix win32 compilation when !opengl marcandre.lureau
  2023-07-25 12:52 ` Philippe Mathieu-Daudé
@ 2023-08-01 21:47 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-08-01 21:47 UTC (permalink / raw)
  To: marcandre.lureau, qemu-devel; +Cc: thuth, Gerd Hoffmann

On 25/7/23 13:25, marcandre.lureau@redhat.com wrote:
> From: Marc-Andre Lureau <marcandre.lureau@redhat.com>
> 
> Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1782
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>   ui/dbus-listener.c | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)

Thanks, queued via misc-fixes.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-01 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25 11:25 [PATCH] ui/dbus: fix win32 compilation when !opengl marcandre.lureau
2023-07-25 12:52 ` Philippe Mathieu-Daudé
2023-08-01 21:47 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).