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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue