aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Renderer.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2020-12-03 18:42:59 +0000
committerGitHub <noreply@github.com>2020-12-03 19:42:59 +0100
commitc00d39b675d0ebf7ebf5be1135addbbee2510d93 (patch)
tree8e94755778ec6261fd08e270e8d6fff1f01f5e6a /Ryujinx.Graphics.OpenGL/Renderer.cs
parent2c39a4f15d44156779c6c926d8feda26a4a24605 (diff)
Dummy out gl queries with 0 draws, remove glFlush call (#1773)
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Renderer.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/Renderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Renderer.cs b/Ryujinx.Graphics.OpenGL/Renderer.cs
index f66acce3..acbc24de 100644
--- a/Ryujinx.Graphics.OpenGL/Renderer.cs
+++ b/Ryujinx.Graphics.OpenGL/Renderer.cs
@@ -113,7 +113,7 @@ namespace Ryujinx.Graphics.OpenGL
public ICounterEvent ReportCounter(CounterType type, EventHandler<ulong> resultHandler)
{
- return _counters.QueueReport(type, resultHandler);
+ return _counters.QueueReport(type, resultHandler, _pipeline.DrawCount);
}
public void Initialize(GraphicsDebugLevel glLogLevel)