Dummy out gl queries with 0 draws, remove glFlush call (#1773)
This commit is contained in:
parent
2c39a4f15d
commit
c00d39b675
6 changed files with 31 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue