Update VulkanTexture.hpp
This commit is contained in:
parent
452b78ef42
commit
df3a27db02
1 changed files with 2 additions and 2 deletions
|
|
@ -320,7 +320,7 @@ namespace vks
|
||||||
// and can be directly used as textures
|
// and can be directly used as textures
|
||||||
image = mappableImage;
|
image = mappableImage;
|
||||||
deviceMemory = mappableMemory;
|
deviceMemory = mappableMemory;
|
||||||
imageLayout = imageLayout;
|
this.imageLayout = imageLayout;
|
||||||
|
|
||||||
// Setup image memory barrier
|
// Setup image memory barrier
|
||||||
vks::tools::setImageLayout(copyCmd, image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_UNDEFINED, imageLayout);
|
vks::tools::setImageLayout(copyCmd, image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_UNDEFINED, imageLayout);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue