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…
Reference in New Issue