mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-24 17:50:51 +00:00
error check
This commit is contained in:
@@ -365,7 +365,7 @@ private:
|
||||
constexpr int limit = 10;
|
||||
for( int i = 0; i <= limit; i++ )
|
||||
{
|
||||
m_vkGetCalibratedTimestampsEXT( device, 2, spec, ts, &deviation );
|
||||
if( m_vkGetCalibratedTimestampsEXT( device, 2, spec, ts, &deviation ) != VK_SUCCESS ) return;
|
||||
if( deviation <= m_deviation ) break;
|
||||
if( i == limit ) return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user