Fix CounterQueue Query Target

This commit is contained in:
Isaac Marovitz 2024-05-12 11:31:51 -04:00
parent 5495281775
commit 121307abe2
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1

View file

@ -62,7 +62,7 @@ namespace Ryujinx.Graphics.OpenGL.Queries
return true;
}
if (ClearCounter || Type == QueryTarget.TimeElapsed)
if (ClearCounter || Type == (QueryTarget)GLEnum.Timestamp)
{
result = 0;
}