change for loop condition to fences.Length
instead of count
to elide Span boundary checks on fences
This commit is contained in:
parent
40c4b1501e
commit
9ab4789345
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
int fenceCount = 0;
|
||||
|
||||
for (int i = 0; i < count; i++)
|
||||
for (int i = 0; i < fences.Length; i++)
|
||||
{
|
||||
if (fenceHolders[i].TryGet(out Fence fence))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue