From cea86472bf92ca751033951d91b709b62a78b230 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 29 Jan 2018 11:44:02 +0100 Subject: [PATCH] [dxvk] Fixed incorrect buffer create info --- src/dxvk/dxvk_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_buffer.cpp b/src/dxvk/dxvk_buffer.cpp index 0f6b5d80..a66d8ab1 100644 --- a/src/dxvk/dxvk_buffer.cpp +++ b/src/dxvk/dxvk_buffer.cpp @@ -57,7 +57,7 @@ namespace dxvk { Rc DxvkBuffer::allocPhysicalBuffer(VkDeviceSize sliceCount) const { - DxvkBufferCreateInfo createInfo; + DxvkBufferCreateInfo createInfo = m_info; createInfo.size = sliceCount * m_physSliceStride; return m_device->allocPhysicalBuffer(createInfo, m_memFlags);