From 3e984d5cf309702c8f60348bcaa310a77ae42bfa Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Thu, 27 May 2021 17:34:48 +0200 Subject: [PATCH] Remove unused imports --- src/backend/drm/render.rs | 2 +- src/backend/winit.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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;