Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix with_fullscreen signature
  • Loading branch information
chrisduerr committed Aug 1, 2020
1 parent 40232d4 commit 7a49c88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window.rs
Expand Up @@ -251,8 +251,8 @@ impl WindowBuilder {
///
/// [`Window::set_fullscreen`]: crate::window::Window::set_fullscreen
#[inline]
pub fn with_fullscreen(mut self, monitor: Option<Fullscreen>) -> Self {
self.window.fullscreen = monitor;
pub fn with_fullscreen(mut self, fullscreen: Option<Fullscreen>) -> Self {
self.window.fullscreen = fullscreen;
self
}

Expand Down

0 comments on commit 7a49c88

Please sign in to comment.