Skip to content

Commit 2c0c20d

Browse files
committed
Update dead spec link in comment
1 parent 4f863e5 commit 2c0c20d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sbr-rasterize/src/rasterizer/sw

sbr-rasterize/src/rasterizer/sw/blur.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::{f32::consts::PI, mem::MaybeUninit};
22

33
pub fn gaussian_sigma_to_box_radius(sigma: f32) -> usize {
4-
// https://drafts.fxtf.org/filter-effects/#funcdef-filter-blur
4+
// https://drafts.csswg.org/filter-effects-1/#funcdef-filter-blur
55
// Divided by two because we want a *radius* not the whole "extent".
66
(((2.0 * PI).sqrt() * 0.375) * sigma).round() as usize
77
}

0 commit comments

Comments
 (0)