Skip to content

Commit

Permalink
bugfix: logic error in createImageView()
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 15, 2023
1 parent be7b393 commit 2a5afd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ private static long createImageView(
* without any mipmapping.
*/
VkImageSubresourceRange range = createInfo.subresourceRange();
range.aspectMask(VK10.VK_IMAGE_ASPECT_COLOR_BIT);
range.aspectMask(aspectMask);
range.baseArrayLayer(0);
range.baseMipLevel(0);
range.layerCount(1);
Expand Down

0 comments on commit 2a5afd2

Please sign in to comment.