We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9eb6d commit 3dc7514Copy full SHA for 3dc7514
src/control/mod.rs
@@ -1129,6 +1129,8 @@ impl Iterator for Events {
1129
self.i += event.length as usize;
1130
match event.type_ {
1131
ffi::DRM_EVENT_VBLANK => {
1132
+ #[allow(unknown_lints)]
1133
+ #[allow(invalid_reference_casting)]
1134
let vblank_event =
1135
unsafe { &*(event as *const _ as *const ffi::drm_event_vblank) };
1136
Some(Event::Vblank(VblankEvent {
@@ -1143,6 +1145,8 @@ impl Iterator for Events {
1143
1145
}))
1144
1146
}
1147
ffi::DRM_EVENT_FLIP_COMPLETE => {
1148
1149
1150
1151
1152
Some(Event::PageFlip(PageFlipEvent {
0 commit comments