aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-03-19 14:43:51 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-03-19 14:43:51 +0100
commitd48b828fd7f42fa4cc96d42d789dc063145b9b1a (patch)
tree926ae5129379f61e9e4d1e83d7c2828a6c1d8ecc /src/window.rs
parentb4f8c3b959d56315697f22753536cbba54d98619 (diff)
parent0be7b072f0ed2ea9dca43f25d63e42c50de1ae5c (diff)
downloadglutin-d48b828fd7f42fa4cc96d42d789dc063145b9b1a.tar.gz
glutin-d48b828fd7f42fa4cc96d42d789dc063145b9b1a.zip
Merge pull request #317 from bombless/rustup
Update for latest Rust
Diffstat (limited to 'src/window.rs')
-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