From d1d845e4307e15efcdfd3a488e5bcc55dba7f075 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 21 Sep 2022 01:02:26 +0100 Subject: [PATCH] u/pacing: Make sure to set predicted_display_time_ns --- src/xrt/auxiliary/util/u_pacing_app.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/auxiliary/util/u_pacing_app.c b/src/xrt/auxiliary/util/u_pacing_app.c index af4b0fdba..567dbd1fa 100644 --- a/src/xrt/auxiliary/util/u_pacing_app.c +++ b/src/xrt/auxiliary/util/u_pacing_app.c @@ -272,6 +272,7 @@ pa_predict(struct u_pacing_app *upa, pa->frames[index].state = U_RT_PREDICTED; pa->frames[index].frame_id = frame_id; pa->frames[index].predicted_gpu_done_time_ns = gpu_done_time_ns; + pa->frames[index].predicted_display_time_ns = predict_ns; pa->frames[index].predicted_display_period_ns = period_ns; pa->frames[index].when.predicted_ns = now_ns; }