End empty gl queries before returning them to the pool. (#1806)
This commit is contained in:
@ -41,9 +41,9 @@ namespace Ryujinx.Graphics.OpenGL.Queries
|
||||
ClearCounter = true;
|
||||
}
|
||||
|
||||
internal void Complete()
|
||||
internal void Complete(bool withResult)
|
||||
{
|
||||
_counter.End();
|
||||
_counter.End(withResult);
|
||||
}
|
||||
|
||||
internal bool TryConsume(ref ulong result, bool block, AutoResetEvent wakeSignal = null)
|
||||
|
Reference in New Issue
Block a user