u/pacing: Make sure to set predicted_display_time_ns

This commit is contained in:
Jakob Bornecrantz 2022-09-21 01:02:26 +01:00 committed by Jakob Bornecrantz
parent 109e373e0c
commit d1d845e430

View file

@ -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;
}