aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-10-11 20:40:15 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-10-11 20:40:15 +0200
commit64bbc4965f3ab6a829a9f421c11b7bead6d49a17 (patch)
tree12d7c2fd6198711d9a210c2852ac8534f442e5ee
parentcdee854d2e4768c2d5bfca5a972fde782c82dbe7 (diff)
downloadglutin-64bbc4965f3ab6a829a9f421c11b7bead6d49a17.tar.gz
glutin-64bbc4965f3ab6a829a9f421c11b7bead6d49a17.zip
Fix win32 window not having a destructor in headless mode
-rw-r--r--src/win32/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 720010c..ee0e2b2 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -235,7 +235,6 @@ impl Window {
}
}
-#[cfg(feature = "window")]
#[unsafe_destructor]
impl Drop for Window {
fn drop(&mut self) {