Commit 06e178e8 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Initialize map_ptr to NULL in wined3d_context_vk_create_slab_bo().

parent 27df7f51
...@@ -456,6 +456,7 @@ static bool wined3d_context_vk_create_slab_bo(struct wined3d_context_vk *context ...@@ -456,6 +456,7 @@ static bool wined3d_context_vk_create_slab_bo(struct wined3d_context_vk *context
*bo = slab->bo; *bo = slab->bo;
bo->memory = NULL; bo->memory = NULL;
bo->slab = slab; bo->slab = slab;
bo->b.map_ptr = NULL;
bo->b.buffer_offset = idx * object_size; bo->b.buffer_offset = idx * object_size;
bo->b.memory_offset = slab->bo.b.memory_offset + bo->b.buffer_offset; bo->b.memory_offset = slab->bo.b.memory_offset + bo->b.buffer_offset;
bo->size = size; bo->size = size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment