Tweak Render2D Tint.
This commit is contained in:
@@ -636,8 +636,7 @@ void Render2D::Begin(GPUContext* context, GPUTextureView* output, GPUTextureView
|
|||||||
ClipLayersStack.Add({ defaultMask, defaultBounds });
|
ClipLayersStack.Add({ defaultMask, defaultBounds });
|
||||||
|
|
||||||
TintLayersStack.Clear();
|
TintLayersStack.Clear();
|
||||||
Color defaultColor(1, 1, 1, 1);
|
TintLayersStack.Add({1,1,1,1});
|
||||||
TintLayersStack.Add(defaultColor);
|
|
||||||
// Scissors can be enabled only for 2D orthographic projections
|
// Scissors can be enabled only for 2D orthographic projections
|
||||||
IsScissorsRectEnabled = false;
|
IsScissorsRectEnabled = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user