Fix debug build

This commit is contained in:
Patrick Nicolas
2026-04-30 16:04:15 +02:00
parent 74c360ebe1
commit f1c02d8f68
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ xrt_result_t compositor::get_display_refresh_rate(float * hz)
auto settings = session.get_settings();
// there should not be rounding errors, hz must be one of the available refresh rates
*hz = frame_rate * settings->fps_divider;
assert(std::ranges::contains(session.headset_info_packet.available_refresh_rates, *hz));
assert(std::ranges::contains(session.get_info().available_refresh_rates, *hz));
return XRT_SUCCESS;
}