diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2020-12-03 18:42:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-03 19:42:59 +0100 |
| commit | c00d39b675d0ebf7ebf5be1135addbbee2510d93 (patch) | |
| tree | 8e94755778ec6261fd08e270e8d6fff1f01f5e6a /Ryujinx.Graphics.OpenGL/Queries/Counters.cs | |
| parent | 2c39a4f15d44156779c6c926d8feda26a4a24605 (diff) | |
Dummy out gl queries with 0 draws, remove glFlush call (#1773)
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Queries/Counters.cs')
| -rw-r--r-- | Ryujinx.Graphics.OpenGL/Queries/Counters.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Queries/Counters.cs b/Ryujinx.Graphics.OpenGL/Queries/Counters.cs index 7560fb17..ac441d5f 100644 --- a/Ryujinx.Graphics.OpenGL/Queries/Counters.cs +++ b/Ryujinx.Graphics.OpenGL/Queries/Counters.cs @@ -23,9 +23,9 @@ namespace Ryujinx.Graphics.OpenGL.Queries } } - public CounterQueueEvent QueueReport(CounterType type, EventHandler<ulong> resultHandler) + public CounterQueueEvent QueueReport(CounterType type, EventHandler<ulong> resultHandler, ulong lastDrawIndex) { - return _counterQueues[(int)type].QueueReport(resultHandler); + return _counterQueues[(int)type].QueueReport(resultHandler, lastDrawIndex); } public void QueueReset(CounterType type) |
