- fix stencil writing color

This commit is contained in:
Magnus Norddahl 2019-05-29 01:14:42 +02:00
parent 555beb58f0
commit eff38393af

View file

@ -436,7 +436,7 @@ void PolyTriangleThreadData::SetDepthBias(float depthBiasConstantFactor, float d
void PolyTriangleThreadData::SetColorMask(bool r, bool g, bool b, bool a) void PolyTriangleThreadData::SetColorMask(bool r, bool g, bool b, bool a)
{ {
drawargs.SetWriteColor(r || g || b || a); drawargs.SetWriteColor(r);
} }
void PolyTriangleThreadData::SetStencil(int stencilRef, int op) void PolyTriangleThreadData::SetStencil(int stencilRef, int op)