diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-03-29 11:55:44 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-03-29 11:58:08 -0600 |
| commit | b3675d8f0d6aaff327b5d6a97cf512bf33e580fd (patch) | |
| tree | 470d48a3caafe4df396d49e62a84eee12f4bc623 /layers/unique_objects.cpp | |
| parent | b62e26e00e6db3de1607c41cd757d309f3c58d13 (diff) | |
| download | usermoji-b3675d8f0d6aaff327b5d6a97cf512bf33e580fd.tar.xz | |
layers: Remove unneccessary line in unique_objects
Change-Id: If658b4196e895a1229495c6acb40fb50feadd02c
Diffstat (limited to 'layers/unique_objects.cpp')
| -rw-r--r-- | layers/unique_objects.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layers/unique_objects.cpp b/layers/unique_objects.cpp index 64acf43d..4cdcb4fd 100644 --- a/layers/unique_objects.cpp +++ b/layers/unique_objects.cpp @@ -791,8 +791,7 @@ VKAPI_ATTR void VKAPI_CALL UpdateDescriptorSetWithTemplateKHR(VkDevice device, V descriptorSet = (VkDescriptorSet)dev_data->unique_id_mapping[reinterpret_cast<uint64_t &>(descriptorSet)]; descriptorUpdateTemplate = (VkDescriptorUpdateTemplateKHR)dev_data->unique_id_mapping[template_handle]; } - void *unwrapped_buffer = nullptr; - unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(dev_data, template_handle, pData); + void *unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(dev_data, template_handle, pData); dev_data->device_dispatch_table->UpdateDescriptorSetWithTemplateKHR(device, descriptorSet, descriptorUpdateTemplate, unwrapped_buffer); free(unwrapped_buffer); |
