diff options
Diffstat (limited to '')
| -rw-r--r-- | examples/integration/src/main.rs | 2 | ||||
| -rw-r--r-- | examples/integration/src/scene.rs | 1 | 
2 files changed, 1 insertions, 2 deletions
| diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index 243297b2..4415fefa 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -256,7 +256,7 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {                          {                              // We clear the frame -                            let mut render_pass = scene.clear( +                            let mut render_pass = Scene::clear(                                  &view,                                  &mut encoder,                                  program.background_color(), diff --git a/examples/integration/src/scene.rs b/examples/integration/src/scene.rs index 90c7efbf..01808f40 100644 --- a/examples/integration/src/scene.rs +++ b/examples/integration/src/scene.rs @@ -16,7 +16,6 @@ impl Scene {      }      pub fn clear<'a>( -        &self,          target: &'a wgpu::TextureView,          encoder: &'a mut wgpu::CommandEncoder,          background_color: Color, | 
