mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
wined3d: Mark buffers as used in wined3d_buffer_copy().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5b0cd6fa3e
commit
20b989ef86
@ -1264,6 +1264,9 @@ HRESULT wined3d_buffer_copy(struct wined3d_buffer *dst_buffer, unsigned int dst_
|
||||
DWORD dst_location;
|
||||
HRESULT hr;
|
||||
|
||||
buffer_mark_used(dst_buffer);
|
||||
buffer_mark_used(src_buffer);
|
||||
|
||||
device = dst_buffer->resource.device;
|
||||
|
||||
context = context_acquire(device, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user