mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
commit
d48b828fd7
|
@ -97,7 +97,6 @@ impl<'a> WindowBuilder<'a> {
|
|||
///
|
||||
/// Will panic if `samples` is not a power of two.
|
||||
pub fn with_multisampling(mut self, samples: u16) -> WindowBuilder<'a> {
|
||||
use std::num::UnsignedInt;
|
||||
assert!(samples.is_power_of_two());
|
||||
self.attribs.multisampling = Some(samples);
|
||||
self
|
||||
|
|
Loading…
Reference in a new issue