udev: Make match branch reachable
Some checks failed
CI (Pinnacle) / Build (push) Has been cancelled
CI (Pinnacle) / Run tests (push) Has been cancelled
CI (Pinnacle) / Check formatting (push) Has been cancelled
CI (Pinnacle) / Clippy check (push) Has been cancelled

Temporary until I can figure out why it's reachable
This commit is contained in:
Ottatop 2024-08-16 10:48:31 -05:00
parent 4b1c4f53e1
commit 975da0d14e

View file

@ -1580,7 +1580,9 @@ impl Udev {
surface.frame_callback_sequence.increment(); surface.frame_callback_sequence.increment();
match mem::take(&mut surface.render_state) { match mem::take(&mut surface.render_state) {
RenderState::Idle => unreachable!(), RenderState::Idle => {
// FIXME: this is still reachable after sleep
}
RenderState::Scheduled => unreachable!(), RenderState::Scheduled => unreachable!(),
RenderState::WaitingForVblank { .. } => unreachable!(), RenderState::WaitingForVblank { .. } => unreachable!(),
RenderState::WaitingForEstimatedVblank(_) => (), RenderState::WaitingForEstimatedVblank(_) => (),