Remove unused imports

This commit is contained in:
Victor Brekenfeld 2021-05-27 17:34:48 +02:00
parent 25c61c7a73
commit 3e984d5cf3
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ use crate::backend::allocator::{
dmabuf::{AsDmabuf, Dmabuf}, dmabuf::{AsDmabuf, Dmabuf},
Allocator, Buffer, Format, Fourcc, Modifier, Slot, Swapchain, 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; use crate::backend::SwapBuffersError;
/// Simplified by limited abstraction to link single [`DrmSurface`]s to renderers. /// Simplified by limited abstraction to link single [`DrmSurface`]s to renderers.

View File

@ -10,11 +10,10 @@ use crate::backend::{
UnusedEvent, UnusedEvent,
}, },
renderer::{ renderer::{
gles2::{Gles2Error, Gles2Frame, Gles2Renderer, Gles2Texture}, gles2::{Gles2Error, Gles2Frame, Gles2Renderer},
Bind, Frame, Renderer, Transform, Unbind, Bind, Renderer, Transform, Unbind,
}, },
}; };
use crate::utils::Rectangle;
use std::{cell::RefCell, rc::Rc, time::Instant}; use std::{cell::RefCell, rc::Rc, time::Instant};
use wayland_egl as wegl; use wayland_egl as wegl;
use wayland_server::Display; use wayland_server::Display;