Skip to content

Commit

Permalink
Merge remote-tracking branch 'kekrby/remove-unused-fb-info'
Browse files Browse the repository at this point in the history
  • Loading branch information
WhatAmISupposedToPutHere committed Nov 15, 2023
2 parents 69be7a1 + 980fc73 commit 20d2bbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,4 @@ impl DrmBackend {
pub fn map(&mut self) -> Result<DumbMapping> {
Ok(self.card.map_dumb_buffer(&mut self.db)?)
}
pub fn fb_info(&self) -> Result<framebuffer::Info> {
Ok(self.card.get_framebuffer(self.fb)?)
}
}
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ fn main() {
let mut active_layer = 0;
let mut needs_complete_redraw = true;
let mut drm = DrmBackend::open_card().unwrap();
let fb_info = drm.fb_info().unwrap();

let mut input_tb = Libinput::new_with_udev(Interface);
let mut input_main = Libinput::new_with_udev(Interface);
Expand Down

0 comments on commit 20d2bbf

Please sign in to comment.