mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 19:17:11 +02:00
Prefer generic overload when type is known (#430)
This commit is contained in:
parent
8259f790d7
commit
b5483d8fe0
8 changed files with 14 additions and 14 deletions
|
@ -13,7 +13,7 @@ namespace Ryujinx.Graphics.Vulkan.Queries
|
|||
{
|
||||
_pipeline = pipeline;
|
||||
|
||||
int count = Enum.GetNames(typeof(CounterType)).Length;
|
||||
int count = Enum.GetNames<CounterType>().Length;
|
||||
|
||||
_counterQueues = new CounterQueue[count];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue