From 5693fbcce3ca04aa7a26920add40ea770419f3ea Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Fri, 24 Oct 2014 15:20:25 +1000 Subject: Add accessor for underlying display handle on Linux. Although unimplemented on other platforms, this applies to at least android as well. --- src/win32/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/win32/mod.rs') diff --git a/src/win32/mod.rs b/src/win32/mod.rs index c3da891..5ce9677 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -233,6 +233,10 @@ impl Window { ffi::SwapBuffers(self.hdc); } } + + pub fn platform_display(&self) -> *mut libc::c_void { + unimplemented!() + } } #[unsafe_destructor] -- cgit v1.2.3