mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-24 21:54:01 -10:00
PR feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/2827f05456d52e4509bb72bf58f20b0c9e5642f2
This commit is contained in:
1 parent
d8acc5dd6b
commit
a7bd1cd0b3
1 file changed
+1
-4
+1
-4
@@ -458,10 +458,7 @@ namespace System.Drawing.Drawing2D
|
||||
// Set blend factors
|
||||
int status = SafeNativeMethods.Gdip.GdipSetPathGradientPresetBlend(new HandleRef(this, NativeBrush), argbs, positions, count);
|
||||
|
||||
if (status != SafeNativeMethods.Gdip.Ok)
|
||||
{
|
||||
throw SafeNativeMethods.Gdip.StatusException(status);
|
||||
}
|
||||
SafeNativeMethods.Gdip.CheckStatus(status);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user