diff options
Diffstat (limited to 'wgpu/src/lib.rs')
-rw-r--r-- | wgpu/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 8e099af1..2283cf71 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -423,7 +423,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), ); |