Skip to content

Commit d6fb760

Browse files
committed
Fix build
1 parent ecded70 commit d6fb760

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test_backend.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,7 @@ UTEST( Backend, TimerQueryBasic )
10641064

10651065
// Now we should have a result
10661066
float time = vhGetTimerQueryTime( timerID );
1067+
#ifdef __APPLE__ // MoltenVK headless seems to create queries that don't work. timestampValidBits returns 0.
10671068
if ( time == 0.0f ) { UTEST_SKIP( "Timestamp queries not producing results on this device/backend" ); }
10681069
#endif // __APPLE__
10691070
EXPECT_GT( time, 0.0f );

0 commit comments

Comments
 (0)