mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-22 22:37:10 +00:00
misc: chore: Use collection expressions
This commit is contained in:
parent
4d5757417e
commit
e2973a875a
236 changed files with 9843 additions and 7561 deletions
|
|
@ -911,10 +911,10 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
|||
scissorH = (int)MathF.Ceiling(scissorH * scale);
|
||||
}
|
||||
|
||||
Span<Rectangle<int>> scissors = stackalloc Rectangle<int>[]
|
||||
{
|
||||
new Rectangle<int>(scissorX, scissorY, scissorW, scissorH),
|
||||
};
|
||||
Span<Rectangle<int>> scissors =
|
||||
[
|
||||
new Rectangle<int>(scissorX, scissorY, scissorW, scissorH)
|
||||
];
|
||||
|
||||
_context.Renderer.Pipeline.SetScissors(scissors);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue