Skip to content

Commit

Permalink
use nearest filtering to framebuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
svercl committed Oct 16, 2022
1 parent dbc9a88 commit 36e95bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bracket-terminal/src/hal/webgpu/framebuffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ impl Framebuffer {
address_mode_u: wgpu::AddressMode::Repeat,
address_mode_v: wgpu::AddressMode::Repeat,
address_mode_w: wgpu::AddressMode::Repeat,
mag_filter: wgpu::FilterMode::Linear,
min_filter: wgpu::FilterMode::Linear,
mipmap_filter: wgpu::FilterMode::Linear,
mag_filter: wgpu::FilterMode::Nearest,
min_filter: wgpu::FilterMode::Nearest,
mipmap_filter: wgpu::FilterMode::Nearest,
lod_min_clamp: -100.0,
lod_max_clamp: 100.0,
compare: None,
Expand Down

0 comments on commit 36e95bb

Please # to comment.