From 44b9712cd67b4ae8506d1817b7777460bf1a293e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 15 Nov 2010 13:43:34 +0100 Subject: [PATCH] wined3d: Add a trace to IWineD3DSurfaceImpl_SetMem(). --- dlls/wined3d/surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index bef7688a779..485f2553219 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");