=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi: Trace mode on separate line for FindClosestMatchingMode().

Alexandre Julliard julliard at winehq.org
Thu Mar 7 16:27:59 CST 2019


Module: wine
Branch: master
Commit: b1a4af225807eea48300be440ff9e1ac691041de
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b1a4af225807eea48300be440ff9e1ac691041de

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Mar  7 11:21:24 2019 +0100

dxgi: Trace mode on separate line for FindClosestMatchingMode().

For more readable logs.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dxgi/output.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/dxgi/output.c b/dlls/dxgi/output.c
index 4a4b0fc..123dee8 100644
--- a/dlls/dxgi/output.c
+++ b/dlls/dxgi/output.c
@@ -305,8 +305,10 @@ static HRESULT STDMETHODCALLTYPE dxgi_output_FindClosestMatchingMode(IDXGIOutput
     struct wined3d_display_mode wined3d_mode;
     HRESULT hr;
 
-    TRACE("iface %p, mode %s, closest_match %p, device %p.\n",
-            iface, debug_dxgi_mode(mode), closest_match, device);
+    TRACE("iface %p, mode %p, closest_match %p, device %p.\n",
+            iface, mode, closest_match, device);
+
+    TRACE("Mode: %s.\n", debug_dxgi_mode(mode));
 
     wined3d_display_mode_from_dxgi(&wined3d_mode, mode);
     hr = dxgi_output_find_closest_matching_mode(output, &wined3d_mode, device);
@@ -422,8 +424,10 @@ static HRESULT STDMETHODCALLTYPE dxgi_output_FindClosestMatchingMode1(IDXGIOutpu
     struct wined3d_display_mode wined3d_mode;
     HRESULT hr;
 
-    TRACE("iface %p, mode %s, closest_match %p, device %p.\n",
-            iface, debug_dxgi_mode1(mode), closest_match, device);
+    TRACE("iface %p, mode %p, closest_match %p, device %p.\n",
+            iface, mode, closest_match, device);
+
+    TRACE("Mode: %s.\n", debug_dxgi_mode1(mode));
 
     wined3d_display_mode_from_dxgi1(&wined3d_mode, mode);
     hr = dxgi_output_find_closest_matching_mode(output, &wined3d_mode, device);




More information about the wine-cvs mailing list