Module: wine
Branch: master
Commit: 9d865274c0b39c12b8c6613ef242dc376a74ada1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d865274c0b39c12b8c6613ef…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Wed May 19 11:13:37 2010 +0200
wined3d: Fix a comment.
---
dlls/wined3d/surface_base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface_base.c b/dlls/wined3d/surface_base.c
index 44c008a..d752827 100644
--- a/dlls/wined3d/surface_base.c
+++ b/dlls/wined3d/surface_base.c
@@ -942,7 +942,7 @@ static HRESULT
/*****************************************************************************
* IWineD3DSurface::Blt, SW emulation version
*
- * Performs blits to a surface, eigher from a source of source-less blts
+ * Performs a blit to a surface, with or without a source surface.
* This is the main functionality of DirectDraw
*
* Params:
Module: wine
Branch: master
Commit: f0888577c509688773ca2d443477588934f76106
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0888577c509688773ca2d443…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Wed May 19 11:13:36 2010 +0200
wined3d: Use wine_dbgstr_rect() for tracing the rectangle in IWineD3DSurfaceImpl_LockRect().
---
dlls/wined3d/surface.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 2d7ff23..811ba11 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1680,7 +1680,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LockRect(IWineD3DSurface *iface, WINED
IWineD3DDeviceImpl *device = This->resource.device;
const RECT *pass_rect = pRect;
- TRACE("(%p) : rect@%p flags(%08x), output lockedRect@%p, memory@%p\n", This, pRect, Flags, pLockedRect, This->resource.allocatedMemory);
+ TRACE("iface %p, locked_rect %p, rect %s, flags %#x.\n",
+ iface, pLockedRect, wine_dbgstr_rect(pRect), Flags);
/* This is also done in the base class, but we have to verify this before loading any data from
* gl into the sysmem copy. The PBO may be mapped, a different rectangle locked, the discard flag