Fix change in blend rgba not being detected as a state change (#2494)
This commit is contained in:
parent
117c999d6e
commit
ffde01f8c9
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user