diff options
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/RasterFont.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/RasterFont.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/RasterFont.cpp b/Source/Core/VideoBackends/Vulkan/RasterFont.cpp index 7f9b736baf..689c0a8195 100644 --- a/Source/Core/VideoBackends/Vulkan/RasterFont.cpp +++ b/Source/Core/VideoBackends/Vulkan/RasterFont.cpp @@ -395,11 +395,10 @@ void RasterFont::PrintMultiLineText(VkRenderPass render_pass, const std::string& draw.SetPSSampler(0, m_texture->GetView(), g_object_cache->GetLinearSampler()); // Setup alpha blending - BlendState blend_state = Util::GetNoBlendingBlendState(); - blend_state.blend_enable = VK_TRUE; - blend_state.src_blend = VK_BLEND_FACTOR_SRC_ALPHA; - blend_state.blend_op = VK_BLEND_OP_ADD; - blend_state.dst_blend = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA; + BlendingState blend_state = Util::GetNoBlendingBlendState(); + blend_state.blendenable = true; + blend_state.srcfactor = BlendMode::SRCALPHA; + blend_state.dstfactor = BlendMode::INVSRCALPHA; draw.SetBlendState(blend_state); draw.Draw(); |
