From 96d01a9293ed12fa7f4f5014aad4aeba3a89a4bf Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sat, 12 Jan 2019 14:01:01 +0000 Subject: [PATCH] Made it bloo --- voxygen/src/menu/title.rs | 2 +- voxygen/src/render/renderer.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/voxygen/src/menu/title.rs b/voxygen/src/menu/title.rs index 91c647f993..c38533fe7c 100644 --- a/voxygen/src/menu/title.rs +++ b/voxygen/src/menu/title.rs @@ -20,7 +20,7 @@ impl TitleState { } // The background colour -const BG_COLOR: Rgba = Rgba { r: 0.8, g: 1.0, b: 0.8, a: 1.0 }; +const BG_COLOR: Rgba = Rgba { r: 0.0, g: 0.3, b: 1.0, a: 1.0 }; impl PlayState for TitleState { fn play(&mut self, global_state: &mut GlobalState) -> PlayStateResult { diff --git a/voxygen/src/render/renderer.rs b/voxygen/src/render/renderer.rs index dc9ed54109..a46da68e5f 100644 --- a/voxygen/src/render/renderer.rs +++ b/voxygen/src/render/renderer.rs @@ -84,6 +84,7 @@ impl Renderer { } /// Queue the clearing of the color and depth targets ready for a new frame to be rendered. + /// TODO: Make a version of this that doesn't clear the colour target for speed pub fn clear(&mut self, col: Rgba) { self.encoder.clear(&self.tgt_color_view, col.into_array()); self.encoder.clear_depth(&self.tgt_depth_view, 1.0);