Skip to content

Commit

Permalink
wgpu: Fix argument order when calling BitmapSamplers.get_sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Oct 13, 2022
1 parent feda41d commit 491ffbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render/wgpu/src/mesh.rs
Original file line number Diff line number Diff line change
@@ -208,7 +208,7 @@ impl DrawType {
&descriptors.bind_layouts.bitmap,
descriptors
.bitmap_samplers
.get_sampler(bitmap.is_smoothed, bitmap.is_repeating),
.get_sampler(bitmap.is_repeating, bitmap.is_smoothed),
&texture_transforms,
texture_view,
bind_group_label,

0 comments on commit 491ffbb

Please sign in to comment.