Skip to content

Commit

Permalink
Merge pull request Smithay#965 from cmeissl/fix/dtr_rename_conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix authored Mar 26, 2023
2 parents d06d129 + d15ea57 commit f272869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/renderer/element/solid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
//! # }
//! use smithay::{
//! backend::renderer::{
//! damage::DamageTrackedRenderer,
//! damage::OutputDamageTracker,
//! element::solid::{SolidColorBuffer, SolidColorRenderElement},
//! },
//! utils::{Point, Size},
Expand All @@ -119,7 +119,7 @@
//! let buffer = SolidColorBuffer::new((WIDTH, HEIGHT), COLOR);
//!
//! // Initialize a static damage tracked renderer
//! let mut damage_tracked_renderer = DamageTrackedRenderer::new((800, 600), 1.0, Transform::Normal);
//! let mut damage_tracker = OutputDamageTracker::new((800, 600), 1.0, Transform::Normal);
//! # let mut renderer = FakeRenderer;
//!
//! loop {
Expand All @@ -128,7 +128,7 @@
//! let render_element = SolidColorRenderElement::from_buffer(&buffer, location, 1f64);
//!
//! // Render the element(s)
//! damage_tracked_renderer
//! damage_tracker
//! .render_output(&mut renderer, 0, &[&render_element], [0.8, 0.8, 0.9, 1.0])
//! .expect("failed to render output");
//! }
Expand Down

0 comments on commit f272869

Please sign in to comment.