1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 07:24:12 +01:00

[dxvk] Fixed incorrect buffer create info

This commit is contained in:
Philip Rebohle 2018-01-29 11:44:02 +01:00
parent 52e8918b57
commit cea86472bf
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -57,7 +57,7 @@ namespace dxvk {
Rc<DxvkPhysicalBuffer> DxvkBuffer::allocPhysicalBuffer(VkDeviceSize sliceCount) const {
DxvkBufferCreateInfo createInfo;
DxvkBufferCreateInfo createInfo = m_info;
createInfo.size = sliceCount * m_physSliceStride;
return m_device->allocPhysicalBuffer(createInfo, m_memFlags);