Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Integration: #2421 adapt the window-surface test to choose(files, compose_window)

aiongg76a03de5076b
diff --git a/apps/lightcraft/src/window_gpu.rs b/apps/lightcraft/src/window_gpu.rs
index 3701b5884..e8caedf73 100644
--- a/apps/lightcraft/src/window_gpu.rs
+++ b/apps/lightcraft/src/window_gpu.rs
@@ -324,7 +324,7 @@ mod tests {
assert_ne!(surface, WgpuConfiguration::default().surface, "egui-wgpu's own default is the high-throughput one");
// what `main` hands eframe (on Windows `choose` probes the adapters first; not here)
if !cfg!(windows) {
- assert_eq!(choose(&Files::new(None)).wgpu_options.surface, surface);
+ assert_eq!(choose(&Files::new(None), false).wgpu_options.surface, surface);
}
}