Merge pull request #469 from gkv311/master
Fix texture height misprint in texture3d sample
This commit is contained in:
commit
03864fcce7
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ public:
|
|||
imageCreateInfo.tiling = VK_IMAGE_TILING_OPTIMAL;
|
||||
imageCreateInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
|
||||
imageCreateInfo.extent.width = texture.width;
|
||||
imageCreateInfo.extent.height = texture.width;
|
||||
imageCreateInfo.extent.height = texture.height;
|
||||
imageCreateInfo.extent.depth = texture.depth;
|
||||
// Set initial layout of the image to undefined
|
||||
imageCreateInfo.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue