chore: fix some comments

Signed-off-by: zhoufanjin <shuangcui@live.cn>
This commit is contained in:
zhoufanjin 2024-08-30 17:14:53 +08:00 committed by Daniel Jacobs
parent a227b51a27
commit 76ee654812
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ use swf::BlurFilter as BlurFilterArgs;
use wgpu::util::StagingBelt;
use wgpu::{BufferSlice, CommandEncoder, RenderPipeline, TextureView};
/// This is a 1:1 match of of `struct Filter` in `blur.wgsl`. See that, and the usage below, for more info.
/// This is a 1:1 match of `struct Filter` in `blur.wgsl`. See that, and the usage below, for more info.
/// Since WebGL requires 16 byte struct size (alignment), some of these fields (namely m2 and last_weight)
/// are passed in precomputed, even though they are trivial to get (addition/multiplication by constant).
/// The struct would have to be padded with dummy data otherwise anyway - these are at least useful.

View File

@ -85,7 +85,7 @@ Just make sure the `wasm-opt` program is in `$PATH`, and that it works.
##### `jpegxr`
The release version of the extension is compiled with `jpegxr`.
To enable it, set the the env `CARGO_FEATURES="jpegxr"`.
To enable it, set the env `CARGO_FEATURES="jpegxr"`.
Windows dependencies: