Add back unused-variable warning
This commit is contained in:
@@ -494,7 +494,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
|
||||
info.frame_id);
|
||||
}
|
||||
|
||||
auto j = encode_request.exchange(i);
|
||||
[[maybe_unused]] auto j = encode_request.exchange(i);
|
||||
encode_request.notify_all();
|
||||
assert(j == -1);
|
||||
|
||||
|
||||
@@ -594,7 +594,6 @@ std::array<to_headset::foveation_parameter, 2> foveation::foveate(
|
||||
bool alpha)
|
||||
{
|
||||
update_ubo(cmd, flip_y, src_rect, src_fov);
|
||||
auto ubo = gpu_buffer.data<ubo_data>();
|
||||
|
||||
std::array src_image_info{
|
||||
vk::DescriptorImageInfo{
|
||||
|
||||
@@ -157,7 +157,6 @@ void pacer::on_feedback(const wivrn::from_headset::feedback & feedback, const cl
|
||||
if (d < 0)
|
||||
d += frame_duration_ns;
|
||||
d -= frame_duration_ns / 2;
|
||||
auto l = last_ns;
|
||||
last_ns += d / 10;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user