summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs
index d79f0dc8..63667ada 100644
--- a/wgpu/src/lib.rs
+++ b/wgpu/src/lib.rs
@@ -414,7 +414,7 @@ impl Renderer {
renderer.fill_text(
text.clone(),
Point::new(11.0, 11.0 + 25.0 * i as f32),
- Color::new(0.9, 0.9, 0.9, 1.0),
+ Color::from_rgba(0.9, 0.9, 0.9, 1.0),
Rectangle::with_size(Size::INFINITY),
);