diff --git a/src/util/d3d11_device.cpp b/src/util/d3d11_device.cpp index 7a6698c16..9d23a627d 100644 --- a/src/util/d3d11_device.cpp +++ b/src/util/d3d11_device.cpp @@ -787,6 +787,11 @@ void D3D11Device::PopTimestampQuery() m_read_timestamp_query = (m_read_timestamp_query + 1) % NUM_TIMESTAMP_QUERIES; m_waiting_timestamp_queries--; } + else + { + // Data not ready yet. + break; + } } }