Commit 5b985bcb authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

wined3d: Fix memset size in IWineD3DVolumeImpl_Unmap.

parent 018930a0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment