Skip to content

Commit

Permalink
Fix incorrect filtering used in mipmap generation (#2525)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaylBongers authored Mar 10, 2022
1 parent 0ac9ce0 commit 3c85fe6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/examples/mipmap/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl Example {
address_mode_v: wgpu::AddressMode::ClampToEdge,
address_mode_w: wgpu::AddressMode::ClampToEdge,
mag_filter: wgpu::FilterMode::Linear,
min_filter: wgpu::FilterMode::Nearest,
min_filter: wgpu::FilterMode::Linear,
mipmap_filter: wgpu::FilterMode::Nearest,
..Default::default()
});
Expand Down
Binary file modified wgpu/examples/mipmap/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3c85fe6

Please sign in to comment.