[Vulkan] Fix typo causing depth image views to be overwritten by a stencil view
This commit is contained in:
parent
4ce774576b
commit
f26bd04a6c
|
@ -247,7 +247,7 @@ CachedTileView::CachedTileView(ui::vulkan::VulkanDevice* device,
|
|||
|
||||
image_view_info.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT;
|
||||
err = vkCreateImageView(device_, &image_view_info, nullptr,
|
||||
&image_view_depth);
|
||||
&image_view_stencil);
|
||||
CheckResult(err, "vkCreateImageView");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue