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;
#[macro_use]
extern crate slog;
extern crate slog_term;
use drm::{buffer::PixelFormat, control::dumbbuffer::DumbBuffer};
use slog::Drain;
use smithay::{
backend::drm::{
@ -13,9 +11,14 @@ use smithay::{
Device, DeviceHandler, RawSurface, Surface,
},
reexports::{
drm::control::{
drm::{
buffer::PixelFormat,
control::{
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,
},