Merge pull request #537 from axilesoft/patch-1
fix: member not set because parameter same to member name
This commit is contained in:
commit
e34f9c110b
1 changed files with 4 additions and 4 deletions
|
|
@ -386,8 +386,8 @@ namespace vks
|
|||
void* buffer,
|
||||
VkDeviceSize bufferSize,
|
||||
VkFormat format,
|
||||
uint32_t width,
|
||||
uint32_t height,
|
||||
uint32_t texWidth,
|
||||
uint32_t texHeight,
|
||||
vks::VulkanDevice *device,
|
||||
VkQueue copyQueue,
|
||||
VkFilter filter = VK_FILTER_LINEAR,
|
||||
|
|
@ -397,8 +397,8 @@ namespace vks
|
|||
assert(buffer);
|
||||
|
||||
this->device = device;
|
||||
width = width;
|
||||
height = height;
|
||||
width = texWidth;
|
||||
height = texHeight;
|
||||
mipLevels = 1;
|
||||
|
||||
VkMemoryAllocateInfo memAllocInfo = vks::initializers::memoryAllocateInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue