From 38b4ace1a85b90e7f5b31c2abcceeb3f43729406 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Fri, 15 Aug 2025 07:01:48 -0500 Subject: [PATCH] Use material base as ctor parameter. --- Source/Engine/UI/GUI/Brushes/MaterialBrush.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Source/Engine/UI/GUI/Brushes/MaterialBrush.cs b/Source/Engine/UI/GUI/Brushes/MaterialBrush.cs index 423e5ad70..13e9dab24 100644 --- a/Source/Engine/UI/GUI/Brushes/MaterialBrush.cs +++ b/Source/Engine/UI/GUI/Brushes/MaterialBrush.cs @@ -25,15 +25,7 @@ namespace FlaxEngine.GUI /// Initializes a new instance of the struct. /// /// The material. - public MaterialBrush(Material material) - { - Material = material; - } - /// - /// Initializes a new instance of the struct. - /// - /// The material. - public MaterialBrush(MaterialInstance material) + public MaterialBrush(MaterialBase material) { Material = material; }