diff options
author | Berkan Diler <berkan.diler1@ingka.ikea.com> | 2022-02-13 14:50:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 10:50:07 -0300 |
commit | 8f353457295767edaaf9dfccb4d938bc1befeb40 (patch) | |
tree | d263a7bdb9aca026105b0681d3d5ec4849cf8a2e /Ryujinx.Graphics.OpenGL/Queries/Counters.cs | |
parent | ce71f9144e1575c432bb009755f01466cd685fbf (diff) |
Use Enum and Delegate.CreateDelegate generic overloads (#3111)1.1.27
* Use Enum generic overloads
* Remove EnumExtensions.cs
* Use Delegate.CreateDelegate generic overloads
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Queries/Counters.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/Queries/Counters.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Queries/Counters.cs b/Ryujinx.Graphics.OpenGL/Queries/Counters.cs index 0c0a915d..582800c8 100644 --- a/Ryujinx.Graphics.OpenGL/Queries/Counters.cs +++ b/Ryujinx.Graphics.OpenGL/Queries/Counters.cs @@ -9,7 +9,7 @@ namespace Ryujinx.Graphics.OpenGL.Queries public Counters() { - int count = Enum.GetNames(typeof(CounterType)).Length; + int count = Enum.GetNames<CounterType>().Length; _counterQueues = new CounterQueue[count]; } |