projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc696f1
)
anv: Zero out the WSI array when initializing the instance
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sun, 21 Feb 2016 03:29:05 +0000
(19:29 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sun, 21 Feb 2016 03:30:14 +0000
(19:30 -0800)
src/intel/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index a8835f74179726ff28a4dc075dda33259efba3f7..7a5cb234ac5b0dddab6595557f62b264461f5be9 100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-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));