Dummy out gl queries with 0 draws, remove glFlush call (#1773)

This commit is contained in:
riperiperi 2020-12-03 18:42:59 +00:00 committed by GitHub
parent 2c39a4f15d
commit c00d39b675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 31 additions and 11 deletions

View file

@ -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)