Merge pull request #317 from bombless/rustup

Update for latest Rust
This commit is contained in:
tomaka 2015-03-19 14:43:51 +01:00
commit d48b828fd7

View file

@ -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