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/osx/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osx/mod.rs') diff --git a/src/osx/mod.rs b/src/osx/mod.rs index dfd2eb8..2ad1ba3 100644 --- a/src/osx/mod.rs +++ b/src/osx/mod.rs @@ -337,4 +337,8 @@ impl Window { pub fn swap_buffers(&self) { unsafe { self.context.flushBuffer(); } } + + pub fn platform_display(&self) -> *mut libc::c_void { + unimplemented!() + } } -- cgit v1.2.3