diff options
author | 2023-01-31 06:29:21 +0100 | |
---|---|---|
committer | 2023-02-24 13:19:48 +0100 | |
commit | baf51a8fcffc78e4ca20f7dcbba18ca3655f2840 (patch) | |
tree | fd7ba1920ac0ff57b6ddefd692d8cad5d57274cd /examples | |
parent | b9a9576207ddfc7afd89da30b7cfc7ca0d7e335c (diff) | |
download | iced-baf51a8fcffc78e4ca20f7dcbba18ca3655f2840.tar.gz iced-baf51a8fcffc78e4ca20f7dcbba18ca3655f2840.tar.bz2 iced-baf51a8fcffc78e4ca20f7dcbba18ca3655f2840.zip |
Draft `glyphon` implementation of text pipeline for `iced_wgpu`
Diffstat (limited to '')
-rw-r--r-- | examples/integration/src/main.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index 2a56b6fa..69f6961e 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -134,8 +134,12 @@ pub fn main() { // Initialize iced let mut debug = Debug::new(); - let mut renderer = - Renderer::new(Backend::new(&device, Settings::default(), format)); + let mut renderer = Renderer::new(Backend::new( + &device, + &queue, + Settings::default(), + format, + )); let mut state = program::State::new( controls, @@ -247,6 +251,7 @@ pub fn main() { renderer.with_primitives(|backend, primitive| { backend.present( &device, + &queue, &mut staging_belt, &mut encoder, &view, |