Commit b344d1d0 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Fully initialize the allocator structure in wined3d_allocator_init().

Allows the allocator to be uninitialized and reinitialized. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent fa63f80d
......@@ -7432,5 +7432,7 @@ bool wined3d_allocator_init(struct wined3d_allocator *allocator,
list_init(&allocator->pools[i].chunks);
}
allocator->free = NULL;
return true;
}
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