[PATCH 1/5] wined3d: Fully initialize the allocator structure in wined3d_allocator_init().
Zebediah Figura
zfigura at codeweavers.com
Sun Oct 17 15:08:30 CDT 2021
Allows the allocator to be uninitialized and reinitialized.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
dlls/wined3d/utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 47718c9f710..29326668e07 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -7432,5 +7432,7 @@ bool wined3d_allocator_init(struct wined3d_allocator *allocator,
list_init(&allocator->pools[i].chunks);
}
+ allocator->free = NULL;
+
return true;
}
--
2.33.0
More information about the wine-devel
mailing list