diff options
Diffstat (limited to 'wgpu/src/renderer.rs')
-rw-r--r-- | wgpu/src/renderer.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs index c8e1e10d..799cb30c 100644 --- a/wgpu/src/renderer.rs +++ b/wgpu/src/renderer.rs @@ -444,12 +444,7 @@ fn explain_layout( // TODO: Draw borders instead primitives.push(Primitive::Quad { bounds: layout.bounds(), - background: Background::Color(Color { - r: 0.0, - g: 0.0, - b: 0.0, - a: 0.05, - }), + background: Background::Color([0.0, 0.0, 0.0, 0.05].into()), border_radius: 0, }); |