[Ryujinx.Graphics.Vic] Address dotnet-format issues (#5374)
* dotnet format style --severity info Some changes were manually reverted. * Restore a few unused methods and variables * Address review comments * Address most dotnet format whitespace warnings * Add comments to disabled warnings * Address IDE0251 warnings * dotnet format whitespace after rebase * Remove SuppressMessage attribute for removed rule
This commit is contained in:
parent
bddb2a1483
commit
bc53d00463
19 changed files with 62 additions and 59 deletions
|
@ -30,7 +30,7 @@ namespace Ryujinx.Graphics.Vic
|
|||
{
|
||||
ConfigStruct config = ReadIndirect<ConfigStruct>(_state.State.SetConfigStructOffset);
|
||||
|
||||
using Surface output = new Surface(
|
||||
using Surface output = new(
|
||||
_rm.SurfacePool,
|
||||
config.OutputSurfaceConfig.OutSurfaceWidth + 1,
|
||||
config.OutputSurfaceConfig.OutSurfaceHeight + 1);
|
||||
|
@ -58,7 +58,7 @@ namespace Ryujinx.Graphics.Vic
|
|||
int targetW = Math.Min(output.Width - targetX, Math.Abs(x2 - x1));
|
||||
int targetH = Math.Min(output.Height - targetY, Math.Abs(y2 - y1));
|
||||
|
||||
Rectangle targetRect = new Rectangle(targetX, targetY, targetW, targetH);
|
||||
Rectangle targetRect = new(targetX, targetY, targetW, targetH);
|
||||
|
||||
Blender.BlendOne(output, src, ref slot, targetRect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue