We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48e4ccd + a76e8fe commit a52e50bCopy full SHA for a52e50b
src/window/video_mode.rs
@@ -75,7 +75,7 @@ impl VideoMode {
75
76
/// Static Method, get the current desktop video mode
77
///
78
- /// return the urrent desktop video mode
+ /// return the current desktop video mode
79
#[must_use]
80
pub fn desktop_mode() -> Self {
81
thread_safety::set_window_thread();
@@ -98,6 +98,7 @@ impl VideoMode {
98
pub fn fullscreen_modes() -> &'static ffi::sfVideoModeVector {
99
unsafe { &*ffi::sfVideoMode_getFullscreenModes() }
100
}
101
+
102
pub(crate) fn raw(&self) -> ffi::sfVideoMode {
103
ffi::sfVideoMode {
104
width: self.width,
0 commit comments