summaryrefslogtreecommitdiffstats
path: root/examples/integration/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration/src/main.rs')
-rw-r--r--examples/integration/src/main.rs9
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,