mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
anv: Zero out the WSI array when initializing the instance
This commit is contained in:
parent
bc696f1db6
commit
b5868d2343
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@ VkResult anv_CreateInstance(
|
|||
instance->apiVersion = client_version;
|
||||
instance->physicalDeviceCount = -1;
|
||||
|
||||
memset(instance->wsi, 0, sizeof(instance->wsi));
|
||||
|
||||
_mesa_locale_init();
|
||||
|
||||
VG(VALGRIND_CREATE_MEMPOOL(instance, 0, false));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue