From 909f4c68b6909f7bc59ff3593f84a5697f65caa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?charlotte=20=F0=9F=8C=B8?= Date: Thu, 19 Mar 2026 21:31:59 -0700 Subject: [PATCH] Scaling fixes. --- crates/processing_render/src/graphics.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/processing_render/src/graphics.rs b/crates/processing_render/src/graphics.rs index 2dda6ee4..914da40f 100644 --- a/crates/processing_render/src/graphics.rs +++ b/crates/processing_render/src/graphics.rs @@ -149,8 +149,8 @@ impl CameraProjection for ProcessingProjection { } fn update(&mut self, width: f32, height: f32) { - self.width = width; - self.height = height; + // in order to preserve our coordinate system where 1px in world space = 1px on the render + // target, we ignore bevy's update here } fn far(&self) -> f32 { @@ -240,7 +240,6 @@ pub fn create( near: 0.0, far: 1000.0, }), - Msaa::Off, Transform::from_xyz(0.0, 0.0, 999.9), render_layer, CommandBuffer::new(),