mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 13:06:24 +00:00
Added missing finalization in ImageBrush
This commit is contained in:
1 parent
ec9eb7aef0
commit
d7d34988be
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user