u/pacing: Make sure to set predicted_display_time_ns

This commit is contained in:
Jakob Bornecrantz authored and Jakob Bornecrantz committed 2022-09-28 21:46:56 +00:00
1 parent 109e373e0c
commit d1d845e430
1 file changed
+1
+1
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;
}