[PATCH 3/4] wined3d: Add a trace to IWineD3DSurfaceImpl_SetMem().
Henri Verbeet
hverbeet at codeweavers.com
Mon Nov 15 06:43:34 CST 2010
---
dlls/wined3d/surface.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index bef7688..485f255 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2583,6 +2583,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_SetFormat(IWineD3DSurface *iface, enum
static HRESULT WINAPI IWineD3DSurfaceImpl_SetMem(IWineD3DSurface *iface, void *Mem) {
IWineD3DSurfaceImpl *This = (IWineD3DSurfaceImpl *) iface;
+ TRACE("iface %p, mem %p.\n", iface, Mem);
+
if (This->flags & (SFLAG_LOCKED | SFLAG_DCINUSE))
{
WARN("Surface is locked or the HDC is in use\n");
--
1.7.2.2
More information about the wine-patches
mailing list