wined3d: Add a trace to IWineD3DSurfaceImpl_SetMem().

This commit is contained in:
Henri Verbeet 2010-11-15 13:43:34 +01:00 committed by Alexandre Julliard
parent 60b5dc04b7
commit 44b9712cd6
1 changed files with 2 additions and 0 deletions

View File

@ -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");