Fix with_fullscreen signature
This commit is contained in:
parent
40232d48ba
commit
7a49c88200
1 changed files with 2 additions and 2 deletions
|
|
@ -251,8 +251,8 @@ impl WindowBuilder {
|
||||||
///
|
///
|
||||||
/// [`Window::set_fullscreen`]: crate::window::Window::set_fullscreen
|
/// [`Window::set_fullscreen`]: crate::window::Window::set_fullscreen
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn with_fullscreen(mut self, monitor: Option<Fullscreen>) -> Self {
|
pub fn with_fullscreen(mut self, fullscreen: Option<Fullscreen>) -> Self {
|
||||||
self.window.fullscreen = monitor;
|
self.window.fullscreen = fullscreen;
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue