wined3d: Fix memset size in IWineD3DVolumeImpl_Unmap.

This commit is contained in:
Rico Schüller 2010-12-19 11:49:45 +01:00 committed by Alexandre Julliard
parent 018930a01e
commit 5b985bcb03
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ static HRESULT WINAPI IWineD3DVolumeImpl_Unmap(IWineD3DVolume *iface)
}
TRACE("(%p) : unlocking volume\n", This);
This->locked = FALSE;
memset(&This->lockedBox, 0, sizeof(RECT));
memset(&This->lockedBox, 0, sizeof(This->lockedBox));
return WINED3D_OK;
}