We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55153d0 commit 09c0335Copy full SHA for 09c0335
crates/bevy_core/src/time/time.rs
@@ -165,6 +165,8 @@ pub(crate) fn time_system(
165
mut has_received_time: Local<bool>,
166
) {
167
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.
170
if let Ok(new_time) = time_recv.0.try_recv() {
171
time.update_with_instant(new_time);
172
*has_received_time = true;
0 commit comments