Skip to content

Commit

Permalink
Merge #291
Browse files Browse the repository at this point in the history
291: Fix sample_mask field r=kvark a=rukai

Looks like it was just missed in #285

Co-authored-by: Rukai <rubickent@gmail.com>
  • Loading branch information
bors[bot] and rukai authored Aug 18, 2019
2 parents 38743c6 + 460c90e commit a47ff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-native/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ pub fn device_create_render_pipeline(
Some(hal::pso::Multisampling {
rasterization_samples: sc,
sample_shading: None,
sample_mask: !0,
sample_mask: desc.sample_mask as u64,
alpha_coverage: desc.alpha_to_coverage_enabled,
alpha_to_one: false,
})
Expand Down

0 comments on commit a47ff09

Please sign in to comment.