From 0ad9c3d453076adc5d94008d7e155d7ee5536225 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Tue, 16 Dec 2014 15:49:22 +1000 Subject: Add callback function to allow resize messages to be sent on mac. --- src/android/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/android') diff --git a/src/android/mod.rs b/src/android/mod.rs index 8bc82ce..ad9d00a 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -273,6 +273,9 @@ impl Window { pub fn get_api(&self) -> ::Api { ::Api::OpenGlEs } + + pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) { + } } #[cfg(feature = "window")] -- cgit v1.2.3