diff --git a/src/backend/drm/render.rs b/src/backend/drm/render.rs index 6eb1066..572c0ef 100644 --- a/src/backend/drm/render.rs +++ b/src/backend/drm/render.rs @@ -11,7 +11,7 @@ use crate::backend::allocator::{ dmabuf::{AsDmabuf, Dmabuf}, Allocator, Buffer, Format, Fourcc, Modifier, Slot, Swapchain, }; -use crate::backend::renderer::{Bind, Frame, Renderer, Texture, Transform}; +use crate::backend::renderer::{Bind, Frame, Renderer, Transform}; use crate::backend::SwapBuffersError; /// Simplified by limited abstraction to link single [`DrmSurface`]s to renderers. diff --git a/src/backend/winit.rs b/src/backend/winit.rs index fef11ea..4569193 100644 --- a/src/backend/winit.rs +++ b/src/backend/winit.rs @@ -10,11 +10,10 @@ use crate::backend::{ UnusedEvent, }, renderer::{ - gles2::{Gles2Error, Gles2Frame, Gles2Renderer, Gles2Texture}, - Bind, Frame, Renderer, Transform, Unbind, + gles2::{Gles2Error, Gles2Frame, Gles2Renderer}, + Bind, Renderer, Transform, Unbind, }, }; -use crate::utils::Rectangle; use std::{cell::RefCell, rc::Rc, time::Instant}; use wayland_egl as wegl; use wayland_server::Display;