VideoCommon: Add helpers for generating common render states

This commit is contained in:
Stenzek
2017-09-09 00:10:40 +10:00
parent b7a099814a
commit 340aabbb06
8 changed files with 53 additions and 46 deletions

View File

@ -400,7 +400,7 @@ void RasterFont::PrintMultiLineText(VkRenderPass render_pass, const std::string&
draw.SetPSSampler(0, m_texture->GetView(), g_object_cache->GetLinearSampler());
// Setup alpha blending
BlendingState blend_state = Util::GetNoBlendingBlendState();
BlendingState blend_state = RenderState::GetNoBlendingBlendState();
blend_state.blendenable = true;
blend_state.srcfactor = BlendMode::SRCALPHA;
blend_state.dstfactor = BlendMode::INVSRCALPHA;