aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/win32/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/win32/mod.rs b/src/api/win32/mod.rs
index a4ca275..235fa2f 100644
--- a/src/api/win32/mod.rs
+++ b/src/api/win32/mod.rs
@@ -215,7 +215,10 @@ impl Window {
}
pub fn platform_display(&self) -> *mut libc::c_void {
- unimplemented!()
+ // What should this return on win32?
+ // It could be GetDC(NULL), but that requires a ReleaseDC()
+ // to avoid leaking the DC.
+ ptr::null_mut()
}
pub fn platform_window(&self) -> *mut libc::c_void {