Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

feat(compositor): the macOS effect inputs carry the footage plane

EtienneLescot6244dc4691ef
diff --git a/crates/compositor/src/compositor_macos.rs b/crates/compositor/src/compositor_macos.rs
index b419e799a..de65a4b76 100644
--- a/crates/compositor/src/compositor_macos.rs
+++ b/crates/compositor/src/compositor_macos.rs
@@ -2967,7 +2967,8 @@ impl Compositor {
let fx_inputs = crate::shader_fx::FxFrameInputs {
cursor: fx_cursor,
clicks: fx_clicks,
- footage: crate::shader_fx::bounds(&g.footage_quad([rw, rh]).corners),
+ footage: g.footage_quad([rw, rh]),
+ footage_aspect: g.footage_aspect([rw, rh]),
camera: lp.has_webcam.then_some(g.w_dst),
};
let effects = scene_ref