D3D11/D3D12/VK/WebGPU: Fixed independent blend _rgba. (#3736)

This commit is contained in:
Branimir Karadžić
2026-06-07 08:37:37 -07:00
committed by GitHub
parent 04fb4b0780
commit 944ccff1e4
4 changed files with 17 additions and 5 deletions

View File

@@ -6017,7 +6017,7 @@ namespace bgfx { namespace d3d11
currentBind.clear();
setBlendState(newFlags);
setBlendState(newFlags, draw.m_rgba);
setDepthStencilState(newFlags, packStencil(BGFX_STENCIL_DEFAULT, BGFX_STENCIL_DEFAULT) );
const uint64_t pt = newFlags&BGFX_STATE_PT_MASK;