aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYork Xiang <bombless@126.com>2015-03-19 18:06:50 +0800
committerYork Xiang <bombless@126.com>2015-03-19 18:06:50 +0800
commit0be7b072f0ed2ea9dca43f25d63e42c50de1ae5c (patch)
tree926ae5129379f61e9e4d1e83d7c2828a6c1d8ecc
parentb4f8c3b959d56315697f22753536cbba54d98619 (diff)
downloadglutin-0be7b072f0ed2ea9dca43f25d63e42c50de1ae5c.tar.gz
glutin-0be7b072f0ed2ea9dca43f25d63e42c50de1ae5c.zip
Update for latest Rust
-rw-r--r--src/window.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window.rs b/src/window.rs
index 56af494..678321e 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -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