VulkanHostDisplay: Fix custom crosshair rendering on NVIDIA

This commit is contained in:
Connor McLaughlin 2020-07-24 02:40:38 +10:00
parent 99b0ba3f20
commit 4a3e5ed644
1 changed files with 2 additions and 2 deletions

View File

@ -591,8 +591,8 @@ void VulkanHostDisplay::RenderSoftwareCursor(s32 left, s32 top, s32 width, s32 h
{
Vulkan::DescriptorSetUpdateBuilder dsupdate;
dsupdate.AddImageDescriptorWrite(ds, 0, static_cast<VulkanHostDisplayTexture*>(texture)->GetTexture().GetView());
dsupdate.AddSamplerDescriptorWrite(ds, 0, m_linear_sampler);
dsupdate.AddCombinedImageSamplerDescriptorWrite(
ds, 0, static_cast<VulkanHostDisplayTexture*>(texture)->GetTexture().GetView(), m_linear_sampler);
dsupdate.Update(g_vulkan_context->GetDevice());
}