mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
st/oxr: Silence warning
Reviewed-by: Ryan Pavlik <ryan.pavlik@collabora.com>
This commit is contained in:
parent
b78a1936f4
commit
4540cff077
|
@ -311,9 +311,10 @@ oxr_session_frame_wait(struct oxr_logger *log,
|
|||
|
||||
//! @todo this should be carefully synchronized, because there may be
|
||||
//! more than one session per instance.
|
||||
timepoint_ns now =
|
||||
XRT_MAYBE_UNUSED timepoint_ns now =
|
||||
time_state_get_now_and_update(sess->sys->inst->timekeeping);
|
||||
|
||||
|
||||
struct xrt_compositor *xc = sess->compositor;
|
||||
xc->wait_frame(xc, &frameState->predictedDisplayTime,
|
||||
&frameState->predictedDisplayPeriod);
|
||||
|
|
Loading…
Reference in a new issue