Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(scap-direct3d): follow the item's size in the even-dimension trim test

Stephen Psaradellis25c952bc5694
diff --git a/crates/scap-direct3d/tests/window_capture.rs b/crates/scap-direct3d/tests/window_capture.rs
index 895f613a1..b28d4858e 100644
--- a/crates/scap-direct3d/tests/window_capture.rs
+++ b/crates/scap-direct3d/tests/window_capture.rs
@@ -479,6 +479,7 @@ fn window_frames_are_trimmed_to_even_dimensions_on_the_gpu() {
item,
Settings {
even_dimensions: true,
+ follow_item_size: true,
..Default::default()
},
Duration::from_secs(2),