mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
Add texture pool to render cache node (#3804)
* Add texture pool to render cache node * Use direct texture copy instead of bitter and fix graphene_cli * Remove warnings * Fix wgpu import path * Code review fixes
This commit is contained in:
@@ -61,7 +61,7 @@ pub async fn pixel_preview<'a: 'n>(
|
||||
let exec = editor_api.application_io.as_ref().unwrap().gpu_executor().unwrap();
|
||||
let resampled = exec.resample_texture(&source_texture.texture, physical_resolution, &transform);
|
||||
|
||||
result.data = RenderOutputType::Texture(ImageTexture { texture: resampled });
|
||||
result.data = RenderOutputType::Texture(ImageTexture { texture: resampled.into() });
|
||||
|
||||
result
|
||||
.metadata
|
||||
|
||||
Reference in New Issue
Block a user