mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Upgrade vello to version 0.5.0 and wgpu to version 25 (#2890)
* update: vello * fix compile errors * create target texture lazily * fix TextureBlitter texture format mismatch * use `futures::lock::Mutex` instead of std Mutex --------- Co-authored-by: Firestar99 <firestar99@sydow.cloud>
This commit is contained in:
@@ -220,7 +220,7 @@ async fn render_canvas(
|
||||
if !data.contains_artboard() && !render_config.hide_artboards {
|
||||
background = Color::WHITE;
|
||||
}
|
||||
exec.render_vello_scene(&scene, &surface_handle, footprint.resolution.x, footprint.resolution.y, &context, background)
|
||||
exec.render_vello_scene(&scene, &surface_handle, footprint.resolution, &context, background)
|
||||
.await
|
||||
.expect("Failed to render Vello scene");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user