=?UTF-8?Q?Rafa=C5=82=20Mu=C5=BCy=C5=82o=20?=: d3d9: Expand rectangles in debug strings.

Alexandre Julliard julliard at winehq.org
Mon Jul 9 16:00:36 CDT 2018


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

Author: Rafał Mużyło <galtgendo at o2.pl>
Date:   Fri Jul  6 16:55:26 2018 +0200

d3d9: Expand rectangles in debug strings.

Most debug lines - except these three - expand the rectangles; so this
puts things simply in sync with the rest.

Signed-off-by: Rafał Mużyło <galtgendo at o2.pl>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d9/device.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index a8d2652..a8dc709 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -1014,8 +1014,8 @@ static HRESULT WINAPI DECLSPEC_HOTPATCH d3d9_device_Present(IDirect3DDevice9Ex *
     unsigned int i;
     HRESULT hr;
 
-    TRACE("iface %p, src_rect %p, dst_rect %p, dst_window_override %p, dirty_region %p.\n",
-            iface, src_rect, dst_rect, dst_window_override, dirty_region);
+    TRACE("iface %p, src_rect %s, dst_rect %s, dst_window_override %p, dirty_region %p.\n",
+            iface, wine_dbgstr_rect(src_rect), wine_dbgstr_rect(dst_rect), dst_window_override, dirty_region);
 
     if (device->device_state != D3D9_DEVICE_STATE_OK)
         return device->d3d_parent->extended ? S_PRESENT_OCCLUDED : D3DERR_DEVICELOST;
@@ -1512,8 +1512,8 @@ static HRESULT WINAPI d3d9_device_UpdateSurface(IDirect3DDevice9Ex *iface,
     struct wined3d_box src_box;
     HRESULT hr;
 
-    TRACE("iface %p, src_surface %p, src_rect %p, dst_surface %p, dst_point %p.\n",
-            iface, src_surface, src_rect, dst_surface, dst_point);
+    TRACE("iface %p, src_surface %p, src_rect %s, dst_surface %p, dst_point %p.\n",
+            iface, src_surface, wine_dbgstr_rect(src_rect), dst_surface, dst_point);
 
     wined3d_mutex_lock();
 
@@ -1630,8 +1630,8 @@ static HRESULT WINAPI d3d9_device_StretchRect(IDirect3DDevice9Ex *iface, IDirect
     HRESULT hr = D3DERR_INVALIDCALL;
     RECT d, s;
 
-    TRACE("iface %p, src_surface %p, src_rect %p, dst_surface %p, dst_rect %p, filter %#x.\n",
-            iface, src_surface, src_rect, dst_surface, dst_rect, filter);
+    TRACE("iface %p, src_surface %p, src_rect %s, dst_surface %p, dst_rect %s, filter %#x.\n",
+            iface, src_surface, wine_dbgstr_rect(src_rect), dst_surface, wine_dbgstr_rect(dst_rect), filter);
 
     wined3d_mutex_lock();
     wined3d_texture_get_sub_resource_desc(dst->wined3d_texture, dst->sub_resource_idx, &dst_desc);




More information about the wine-cvs mailing list