wined3d: Initialize map_ptr to NULL in wined3d_context_vk_create_slab_bo().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
27df7f518c
commit
06e178e87f
|
@ -456,6 +456,7 @@ static bool wined3d_context_vk_create_slab_bo(struct wined3d_context_vk *context
|
|||
*bo = slab->bo;
|
||||
bo->memory = NULL;
|
||||
bo->slab = slab;
|
||||
bo->b.map_ptr = NULL;
|
||||
bo->b.buffer_offset = idx * object_size;
|
||||
bo->b.memory_offset = slab->bo.b.memory_offset + bo->b.buffer_offset;
|
||||
bo->size = size;
|
||||
|
|
Loading…
Reference in New Issue