wineded3: dirtyend set to more than resource size.
This commit is contained in:
parent
d955715180
commit
b3d018f99b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue