mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51:30 +11:00
Remove deprecated comment
This commit is contained in:
parent
f9929fab2f
commit
d1a5730374
|
@ -319,9 +319,6 @@ impl Window {
|
||||||
|
|
||||||
let xf86_desk_mode = *modes.offset(0);
|
let xf86_desk_mode = *modes.offset(0);
|
||||||
|
|
||||||
// FIXME: `XF86VidModeModeInfo` is missing its `hskew` field. Therefore we point to
|
|
||||||
// `vsyncstart` instead of `vdisplay` as a temporary hack.
|
|
||||||
|
|
||||||
let mode_to_switch_to = if window_attrs.monitor.is_some() {
|
let mode_to_switch_to = if window_attrs.monitor.is_some() {
|
||||||
let matching_mode = (0 .. mode_num).map(|i| {
|
let matching_mode = (0 .. mode_num).map(|i| {
|
||||||
let m: ffi::XF86VidModeModeInfo = ptr::read(*modes.offset(i as isize) as *const _); m
|
let m: ffi::XF86VidModeModeInfo = ptr::read(*modes.offset(i as isize) as *const _); m
|
||||||
|
|
Loading…
Reference in a new issue