mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +00:00
OpenGLHostDisplay: Don't assert when reading back last query
This commit is contained in:
parent
239b585d8c
commit
1e6abc1d64
|
@ -993,8 +993,6 @@ void OpenGLHostDisplay::PopTimestampQuery()
|
||||||
|
|
||||||
GLint available = 0;
|
GLint available = 0;
|
||||||
GetQueryObjectiv(m_timestamp_queries[m_read_timestamp_query], GL_QUERY_RESULT_AVAILABLE, &available);
|
GetQueryObjectiv(m_timestamp_queries[m_read_timestamp_query], GL_QUERY_RESULT_AVAILABLE, &available);
|
||||||
DebugAssert(m_read_timestamp_query != m_write_timestamp_query);
|
|
||||||
|
|
||||||
if (!available)
|
if (!available)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue