[Vulkan] Fix typo causing depth image views to be overwritten by a stencil view

This commit is contained in:
DrChat 2017-12-21 16:51:55 -06:00
parent 4ce774576b
commit f26bd04a6c
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}