Initialize buffer and memory with VK_NULL_HANDLE
This commit is contained in:
parent
e94677b8e7
commit
44bcac9be3
1 changed files with 2 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ namespace vks
|
|||
*/
|
||||
struct Buffer
|
||||
{
|
||||
VkBuffer buffer;
|
||||
VkDevice device;
|
||||
VkDeviceMemory memory;
|
||||
VkBuffer buffer = VK_NULL_HANDLE;
|
||||
VkDeviceMemory memory = VK_NULL_HANDLE;
|
||||
VkDescriptorBufferInfo descriptor;
|
||||
VkDeviceSize size = 0;
|
||||
VkDeviceSize alignment = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue