mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 22:24:15 +01:00
[dxvk] Fixed incorrect buffer create info
This commit is contained in:
parent
52e8918b57
commit
cea86472bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user