From f3c37de1c02fe33ac023b42ebaecf3e4dfb74df2 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Sat, 15 Dec 2018 21:20:08 +0100 Subject: [PATCH] Fix example crates --- examples/raw_drm.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/raw_drm.rs b/examples/raw_drm.rs index a6d9764..dbc008b 100644 --- a/examples/raw_drm.rs +++ b/examples/raw_drm.rs @@ -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::{ - connector::{self, State as ConnectorState}, - crtc, encoder, framebuffer, Device as ControlDevice, ResourceInfo, + drm::{ + buffer::PixelFormat, + control::{ + connector::{self, State as ConnectorState}, + crtc, + dumbbuffer::DumbBuffer, + encoder, framebuffer, Device as ControlDevice, ResourceInfo, + }, }, wayland_server::calloop::EventLoop, },