Current tint mult by previous one.

This commit is contained in:
Jean-Baptiste Perrier
2021-02-27 22:43:56 +01:00
parent f939eec924
commit 0d82be3ac8

View File

@@ -816,7 +816,7 @@ void Render2D::PushTint(const Color& tint)
{
RENDER2D_CHECK_RENDERING_STATE;
TintLayersStack.Push(tint);
TintLayersStack.Push(tint * TintLayersStack.Peek());
}
void Render2D::PeekTint(Color& tint)