examples: move raw_drm to raw_legacy_drm

This commit is contained in:
Victor Brekenfeld 2020-04-15 23:26:38 +02:00
parent ed257e8991
commit 74187f55fc
2 changed files with 3 additions and 2 deletions

View File

@ -63,5 +63,5 @@ wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols"]
xwayland = ["wayland_frontend"] xwayland = ["wayland_frontend"]
[[example]] [[example]]
name = "raw_drm" name = "raw_legacy_drm"
required-features = ["backend_drm_legacy"] required-features = ["backend_drm_legacy"]

View File

@ -6,8 +6,9 @@ extern crate slog;
use slog::Drain; use slog::Drain;
use smithay::{ use smithay::{
backend::drm::{ backend::drm::{
common::Error,
device_bind, device_bind,
legacy::{Error, LegacyDrmDevice, LegacyDrmSurface}, legacy::{LegacyDrmDevice, LegacyDrmSurface},
Device, DeviceHandler, RawSurface, Surface, Device, DeviceHandler, RawSurface, Surface,
}, },
reexports::{ reexports::{