Skip to content

Commit 09c0335

Browse files
committed
add todo
1 parent 55153d0 commit 09c0335

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/bevy_core/src/time/time.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ pub(crate) fn time_system(
165165
mut has_received_time: Local<bool>,
166166
) {
167167
if let Some(time_recv) = time_recv {
168+
// TODO: delay checking channel on start by 2 frames when pipelined rendering
169+
// is enabled. This is to make sure we always read the N-2 frame's time.
168170
if let Ok(new_time) = time_recv.0.try_recv() {
169171
time.update_with_instant(new_time);
170172
*has_received_time = true;

0 commit comments

Comments
 (0)