diff options
Diffstat (limited to 'examples/integration_opengl/src/main.rs')
-rw-r--r-- | examples/integration_opengl/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration_opengl/src/main.rs b/examples/integration_opengl/src/main.rs index f0ff2076..3b63f22e 100644 --- a/examples/integration_opengl/src/main.rs +++ b/examples/integration_opengl/src/main.rs @@ -159,7 +159,7 @@ pub fn main() { } // And then iced on top - renderer.present(|backend, primitive| { + renderer.with_primitives(|backend, primitive| { backend.present( &gl, primitive, |