diff --git a/src/backend/drm/backend.rs b/src/backend/drm/backend.rs index f48feb2..768d888 100644 --- a/src/backend/drm/backend.rs +++ b/src/backend/drm/backend.rs @@ -174,11 +174,9 @@ impl DrmBackend { let next_bo = egl.buffers.next_buffer.replace(None); if let Some(next_buffer) = next_bo { - trace!(self.logger, "Releasing all front buffer"); + trace!(self.logger, "Releasing old front buffer"); egl.buffers.front_buffer.set(next_buffer); - // drop and release the old buffer - } else { - unreachable!(); + // drop and release the old buffer } }) });