mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
wined3d: Set buffer->map_ptr to NULL on unmap.
This commit is contained in:
parent
2973dbb856
commit
9f72f78431
@ -1117,6 +1117,7 @@ void CDECL wined3d_buffer_unmap(struct wined3d_buffer *buffer)
|
||||
context_release(context);
|
||||
|
||||
buffer_clear_dirty_areas(buffer);
|
||||
buffer->map_ptr = NULL;
|
||||
}
|
||||
else if (buffer->flags & WINED3D_BUFFER_HASDESC)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user