Fix example crates

This commit is contained in:
Victor Brekenfeld 2018-12-15 21:20:08 +01:00
parent 7c6354c1e7
commit f3c37de1c0
1 changed files with 8 additions and 5 deletions

View File

@ -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::{
connector::{self, State as ConnectorState}, buffer::PixelFormat,
crtc, encoder, framebuffer, Device as ControlDevice, ResourceInfo, control::{
connector::{self, State as ConnectorState},
crtc,
dumbbuffer::DumbBuffer,
encoder, framebuffer, Device as ControlDevice, ResourceInfo,
},
}, },
wayland_server::calloop::EventLoop, wayland_server::calloop::EventLoop,
}, },