mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-24 02:46:33 +11:00
Update for latest Rust
This commit is contained in:
parent
b4f8c3b959
commit
0be7b072f0
1 changed files with 0 additions and 1 deletions
|
@ -97,7 +97,6 @@ impl<'a> WindowBuilder<'a> {
|
||||||
///
|
///
|
||||||
/// Will panic if `samples` is not a power of two.
|
/// Will panic if `samples` is not a power of two.
|
||||||
pub fn with_multisampling(mut self, samples: u16) -> WindowBuilder<'a> {
|
pub fn with_multisampling(mut self, samples: u16) -> WindowBuilder<'a> {
|
||||||
use std::num::UnsignedInt;
|
|
||||||
assert!(samples.is_power_of_two());
|
assert!(samples.is_power_of_two());
|
||||||
self.attribs.multisampling = Some(samples);
|
self.attribs.multisampling = Some(samples);
|
||||||
self
|
self
|
||||||
|
|
Loading…
Add table
Reference in a new issue