Fix change in blend rgba not being detected as a state change (#2494)

This commit is contained in:
SnapperTT
2021-04-24 13:15:01 +10:00
committed by GitHub
parent 117c999d6e
commit ffde01f8c9

View File

@@ -7504,7 +7504,7 @@ namespace bgfx { namespace gl
| BGFX_STATE_WRITE_A
| BGFX_STATE_WRITE_RGB
| BGFX_STATE_WRITE_Z
) & changedFlags)
) & changedFlags) || blendFactor != draw.m_rgba)
{
if (BGFX_STATE_FRONT_CCW & changedFlags)
{