servo: Use brighter colors
authorBrian Anderson <banderson@mozilla.com>
Thu, 03 May 2012 23:14:49 -0700
changeset 361538 e15dbeaaa76cb7fb92d80aa554df3d0f3bce966a
parent 361537 812dc83a5411d04e2d18f09c5b4b184080fa22f1
child 361539 2eba782d01938a9f389cdd7b1b6e8ea7d4588370
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
servo: Use brighter colors Source-Repo: https://github.com/servo/servo Source-Revision: f0f705e7229d38a173a66639b7414eeb8f134d54
servo/src/servo/gfx/renderer.rs
--- a/servo/src/servo/gfx/renderer.rs
+++ b/servo/src/servo/gfx/renderer.rs
@@ -49,17 +49,17 @@ fn draw_display_list(
         let to_float = fn@(u: u8) -> float {
             (u as float) / 255f
         };
 
         let red_color = {
             r: to_float(r) as AzFloat,
             g: to_float(g) as AzFloat,
             b: to_float(b) as AzFloat,
-            a: 0.5f as AzFloat
+            a: 1f as AzFloat
         };
         let red_pattern = AzCreateColorPattern(ptr::addr_of(red_color));
 
         let red_rect = {
             x: au_to_int(bounds.origin.x) as AzFloat,
             y: au_to_int(bounds.origin.y) as AzFloat,
             width: au_to_int(bounds.size.width) as AzFloat,
             height: au_to_int(bounds.size.height) as AzFloat