diff --git a/src/backend/drm/surface/gbm.rs b/src/backend/drm/surface/gbm.rs index c587dd2..d5d646e 100644 --- a/src/backend/drm/surface/gbm.rs +++ b/src/backend/drm/surface/gbm.rs @@ -238,6 +238,11 @@ where flip.map_err(Error::DrmError) } + /// Reset the underlying buffers + pub fn reset_buffers(&mut self) { + self.swapchain.reset_buffers() + } + /// Returns the underlying [`crtc`](drm::control::crtc) of this surface pub fn crtc(&self) -> crtc::Handle { self.drm.crtc()