From 40e42a1775158272c385bcd631f3b26a8a821495 Mon Sep 17 00:00:00 2001 From: Christian Swinehart Date: Mon, 11 Nov 2024 22:21:42 -0500 Subject: [PATCH] update signature on dummy engine's `with_surface` --- src/gpu/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/mod.rs b/src/gpu/mod.rs index c6130161..2e389e4e 100644 --- a/src/gpu/mod.rs +++ b/src/gpu/mod.rs @@ -22,7 +22,7 @@ struct Engine { } #[cfg(not(any(feature = "vulkan", feature = "metal")))] impl Engine { pub fn supported() -> bool { false } - pub fn with_surface(_: &ImageInfo, _:F) -> Result + pub fn with_surface(_: &ImageInfo, _:Option, _:F) -> Result where F:FnOnce(&mut Surface) -> Result { Err("Compiled without GPU support".to_string())