mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 09:08:34 +00:00
Added missing finalization in ImageBrush
This commit is contained in:
parent
ec9eb7aef0
commit
d7d34988be
@ -76,7 +76,7 @@ namespace CUE.NET.Brushes
|
|||||||
x = Math.Max(0, Math.Min(x, Image.Width - 1));
|
x = Math.Max(0, Math.Min(x, Image.Width - 1));
|
||||||
y = Math.Max(0, Math.Min(y, Image.Height - 1));
|
y = Math.Max(0, Math.Min(y, Image.Height - 1));
|
||||||
|
|
||||||
return Image.GetPixel(x, y);
|
return FinalizeColor(Image.GetPixel(x, y));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user