mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 05:23:00 +01:00
Fix change in blend rgba not being detected as a state change (#2494)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user