aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-02-20 22:52:22 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-02-20 22:52:22 +0100
commit7ff76cddd981d64fbf0f821ba8a5f456fd0fcb29 (patch)
tree645cd2d15272d61227fed75adfba294caeaac76b /src/x11
parent8e1d0f7a976078ef7031ff84e077f00655d4e061 (diff)
parent25ce029cf67993a7bc8dfc3de0ccd4ab3c9f349b (diff)
downloadglutin-7ff76cddd981d64fbf0f821ba8a5f456fd0fcb29.tar.gz
glutin-7ff76cddd981d64fbf0f821ba8a5f456fd0fcb29.zip
Merge pull request #285 from binsoftware/oculus-integration
expose platform-specific window handle (currently Win only)
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/window/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs
index f8afc08..faeea3e 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -719,6 +719,10 @@ impl Window {
self.x.display as *mut libc::c_void
}
+ pub fn platform_window(&self) -> *mut libc::c_void {
+ unimplemented!()
+ }
+
/// See the docs in the crate root file.
pub fn get_api(&self) -> ::Api {
::Api::OpenGl