diff --git a/crates/bevy_core_pipeline/src/taa/mod.rs b/crates/bevy_core_pipeline/src/taa/mod.rs index 4edb6cb60f..4a78af178e 100644 --- a/crates/bevy_core_pipeline/src/taa/mod.rs +++ b/crates/bevy_core_pipeline/src/taa/mod.rs @@ -410,13 +410,13 @@ fn prepare_taa_history_textures( views: Query<(Entity, &ExtractedCamera, &ExtractedView), With>, ) { for (entity, camera, view) in &views { - if let Some(physical_viewport_size) = camera.physical_viewport_size { + if let Some(physical_target_size) = camera.physical_target_size { let mut texture_descriptor = TextureDescriptor { label: None, size: Extent3d { depth_or_array_layers: 1, - width: physical_viewport_size.x, - height: physical_viewport_size.y, + width: physical_target_size.x, + height: physical_target_size.y, }, mip_level_count: 1, sample_count: 1,