misc: chore: use target-typed new in collection initializers where type is evident

This commit is contained in:
Evan Husted 2025-02-18 21:35:11 -06:00
parent c1002d4826
commit b9150a0092
2 changed files with 2 additions and 2 deletions

View file

@ -913,7 +913,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
Span<Rectangle<int>> scissors =
[
new Rectangle<int>(scissorX, scissorY, scissorW, scissorH)
new(scissorX, scissorY, scissorW, scissorH)
];
_context.Renderer.Pipeline.SetScissors(scissors);