Evaluate extract node before flattening the network

This commit is contained in:
Dennis Kobert
2023-06-17 22:00:04 +02:00
committed by Keavon Chambers
parent 069af07d32
commit 59e70cd812
5 changed files with 29 additions and 35 deletions

View File

@@ -287,7 +287,7 @@ impl gpu_executor::GpuExecutor for WgpuExecutor {
log::warn!("No surface formats available");
//return Ok(());
}
let config = self.surface_config.take().unwrap();
let Some(config) = self.surface_config.take() else {return Ok(())};
let new_config = config.clone();
self.surface_config.replace(Some(config));
let output = match result {