From b2623dc27d14e9c672429a3819d20958954cb170 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Sat, 18 Mar 2023 23:39:05 +0000 Subject: [PATCH] OpenGL: Fix inverted conditional for counter flush from #4471 (#4560) Fixes OpenGL. --- Ryujinx.Graphics.OpenGL/Queries/BufferedQuery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics.OpenGL/Queries/BufferedQuery.cs b/Ryujinx.Graphics.OpenGL/Queries/BufferedQuery.cs index 99ea6a5c..9d43f6c3 100644 --- a/Ryujinx.Graphics.OpenGL/Queries/BufferedQuery.cs +++ b/Ryujinx.Graphics.OpenGL/Queries/BufferedQuery.cs @@ -74,7 +74,7 @@ namespace Ryujinx.Graphics.OpenGL.Queries { result = Marshal.ReadInt64(_bufferMap); - return WaitingForValue(result); + return !WaitingForValue(result); } public long AwaitResult(AutoResetEvent wakeSignal = null)