mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
Upgrade WGPU and Linebender dependencies (#4154)
This commit is contained in:
@@ -82,6 +82,7 @@ pub async fn export_document(
|
||||
// Encode and write raster image when buffer is already provided
|
||||
write_raster_image(output_path, file_type, data, width, height, transparent)?;
|
||||
}
|
||||
#[cfg(target_family = "wasm")]
|
||||
other => {
|
||||
return Err(format!("Unexpected render output type: {:?}. Expected Texture, Buffer for raster export or Svg for SVG export.", other).into());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user