Fix compiler warnings

This commit is contained in:
Thimo 2020-11-08 14:09:47 +01:00
parent 658624a73d
commit d6713c3a96
2 changed files with 3 additions and 3 deletions

View File

@ -560,7 +560,7 @@ namespace Strawberry
delete BlendModes;
}
private static readonly Blend[] BlendModes = new Blend[]
private static readonly Blend[] BlendModes = new Blend[](
{
// 0 - NORMAL
new (dest, index, src, opacity) =>
@ -596,7 +596,7 @@ namespace Strawberry
dest[index + 3] = a;
}
}
};
});
[Inline]
private static int MUL_UN8(int a, int b)

View File

@ -229,7 +229,7 @@ namespace Strawberry
{
let name = scope String();
type.GetName(name);
let error = Calc.StringArgs("{0} type arguments not supported in commands.", scope Object[] { name });
let error = Calc.StringArgs("{0} type arguments not supported in commands.", scope Object[]({ name }));
Runtime.FatalError(error);
}