From 121307abe2a67c1404fb1c60518dec4245f1840e Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Sun, 12 May 2024 11:31:51 -0400 Subject: [PATCH] Fix CounterQueue Query Target --- src/Ryujinx.Graphics.OpenGL/Queries/CounterQueueEvent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.OpenGL/Queries/CounterQueueEvent.cs b/src/Ryujinx.Graphics.OpenGL/Queries/CounterQueueEvent.cs index 449d00624..0a79c17a1 100644 --- a/src/Ryujinx.Graphics.OpenGL/Queries/CounterQueueEvent.cs +++ b/src/Ryujinx.Graphics.OpenGL/Queries/CounterQueueEvent.cs @@ -62,7 +62,7 @@ namespace Ryujinx.Graphics.OpenGL.Queries return true; } - if (ClearCounter || Type == QueryTarget.TimeElapsed) + if (ClearCounter || Type == (QueryTarget)GLEnum.Timestamp) { result = 0; }