Skip to content

Commit

Permalink
there should be a way go get a window
Browse files Browse the repository at this point in the history
  • Loading branch information
boralg committed Jul 6, 2024
1 parent 40eed85 commit 5858686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sursface/src/display/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl<'a> Display<'a> {
}
}

pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> {
Ok(())
pub fn window(&self) -> &Window {
&self.window
}
}

0 comments on commit 5858686

Please sign in to comment.