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

Allows the allocator to be uninitialized and reinitialized.

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:
Zebediah Figura 2021-10-17 15:08:30 -05:00 committed by Alexandre Julliard
parent fa63f80d0e
commit b344d1d091

View File

@ -7432,5 +7432,7 @@ bool wined3d_allocator_init(struct wined3d_allocator *allocator,
list_init(&allocator->pools[i].chunks);
}
allocator->free = NULL;
return true;
}