mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 21:31:29 +11:00
Fix with_fullscreen signature
This commit is contained in:
parent
40232d48ba
commit
7a49c88200
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue