Skip to content

Commit

Permalink
Change default background color to black
Browse files Browse the repository at this point in the history
While the pink background color is useful for debugging, Catacomb has
long outlived its experimental stage and a black background color is a
little less jarring during startup.
  • Loading branch information
chrisduerr committed Jan 20, 2024
1 parent 595eb4d commit adb4001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use crate::trace_error;
use crate::windows::Windows;

/// Default background color.
const CLEAR_COLOR: [f32; 4] = [1., 0., 1., 1.];
const CLEAR_COLOR: [f32; 4] = [0., 0., 0., 1.];

/// Time before a VBlank reserved for rendering compositor updates.
const RENDER_TIME_OFFSET: Duration = Duration::from_millis(10);
Expand Down

0 comments on commit adb4001

Please sign in to comment.