Skip to content

Commit

Permalink
Cleanup, Comments, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jwagner committed Jul 7, 2024
1 parent 43a1f1f commit 636b2a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eframe/src/epi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pub struct NativeOptions {
pub persistence_path: Option<std::path::PathBuf>,

/// Controls whether colors should be dithered to minimize banding.
/// Default to true.
/// Defaults to true.
pub dithering: bool,
}

Expand Down
1 change: 1 addition & 0 deletions crates/egui-wgpu/src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ struct UniformBuffer {
impl PartialEq for UniformBuffer {
fn eq(&self, other: &Self) -> bool {
self.screen_size_in_points == other.screen_size_in_points
&& self.dithering == other.dithering
}
}

Expand Down

0 comments on commit 636b2a0

Please sign in to comment.