wined3d: Set buffer->map_ptr to NULL on unmap.

This commit is contained in:
Stefan Dösinger 2014-01-27 14:41:47 +01:00 committed by Alexandre Julliard
parent 2973dbb856
commit 9f72f78431
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{