aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-10-24 13:10:41 +0200
committertomaka <pierre.krieger1708@gmail.com>2014-10-24 13:10:41 +0200
commit5c31daf7e2e93e58abc8b3c03459c88098c280fa (patch)
tree453a82ef07b829adf8fe885d921ef68093323a5c /src/win32
parent2c9eaf86512a77da5f20acc87d9c5cd949078a85 (diff)
parent0eda82c28fc776923bd5139ca03be503195b0010 (diff)
downloadglutin-5c31daf7e2e93e58abc8b3c03459c88098c280fa.tar.gz
glutin-5c31daf7e2e93e58abc8b3c03459c88098c280fa.zip
Merge pull request #68 from tomaka/fix-native-win
Add `platform_display` impls for win32 and android
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 5ce9677..13349f7 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -1,5 +1,6 @@
use std::sync::atomic::AtomicBool;
use std::ptr;
+use libc;
use Event;
#[cfg(feature = "window")]
@@ -235,7 +236,7 @@ impl Window {
}
pub fn platform_display(&self) -> *mut libc::c_void {
- unimplemented!()
+ self.window as *mut libc::c_void
}
}