From 1e6abc1d6438a7943efb5bd59d1400eb2482ba05 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 18 Sep 2022 12:02:38 +1000 Subject: [PATCH] OpenGLHostDisplay: Don't assert when reading back last query --- src/frontend-common/opengl_host_display.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frontend-common/opengl_host_display.cpp b/src/frontend-common/opengl_host_display.cpp index 59c65656a..c3ca59991 100644 --- a/src/frontend-common/opengl_host_display.cpp +++ b/src/frontend-common/opengl_host_display.cpp @@ -993,8 +993,6 @@ void OpenGLHostDisplay::PopTimestampQuery() GLint available = 0; GetQueryObjectiv(m_timestamp_queries[m_read_timestamp_query], GL_QUERY_RESULT_AVAILABLE, &available); - DebugAssert(m_read_timestamp_query != m_write_timestamp_query); - if (!available) break;