Commit b3d018f9 authored by Christoph Bumiller's avatar Christoph Bumiller Committed by Alexandre Julliard

wineded3: dirtyend set to more than resource size.

parent d9557151
......@@ -439,7 +439,7 @@ static HRESULT WINAPI IWineD3DVertexBufferImpl_Lock(IWineD3DVertexBuffer *iface
if(SizeToLock)
This->dirtyend = OffsetToLock + SizeToLock;
else
This->dirtyend = OffsetToLock + This->resource.size;
This->dirtyend = This->resource.size;
}
if(This->resource.allocatedMemory) {
......
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