Fix example crates
This commit is contained in:
parent
7c6354c1e7
commit
f3c37de1c0
|
@ -1,10 +1,8 @@
|
||||||
extern crate drm;
|
|
||||||
extern crate smithay;
|
extern crate smithay;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate slog;
|
extern crate slog;
|
||||||
extern crate slog_term;
|
extern crate slog_term;
|
||||||
|
|
||||||
use drm::{buffer::PixelFormat, control::dumbbuffer::DumbBuffer};
|
|
||||||
use slog::Drain;
|
use slog::Drain;
|
||||||
use smithay::{
|
use smithay::{
|
||||||
backend::drm::{
|
backend::drm::{
|
||||||
|
@ -13,9 +11,14 @@ use smithay::{
|
||||||
Device, DeviceHandler, RawSurface, Surface,
|
Device, DeviceHandler, RawSurface, Surface,
|
||||||
},
|
},
|
||||||
reexports::{
|
reexports::{
|
||||||
drm::control::{
|
drm::{
|
||||||
|
buffer::PixelFormat,
|
||||||
|
control::{
|
||||||
connector::{self, State as ConnectorState},
|
connector::{self, State as ConnectorState},
|
||||||
crtc, encoder, framebuffer, Device as ControlDevice, ResourceInfo,
|
crtc,
|
||||||
|
dumbbuffer::DumbBuffer,
|
||||||
|
encoder, framebuffer, Device as ControlDevice, ResourceInfo,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
wayland_server::calloop::EventLoop,
|
wayland_server::calloop::EventLoop,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue