diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2014-12-16 15:49:22 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2014-12-19 05:44:20 +1000 |
commit | 0ad9c3d453076adc5d94008d7e155d7ee5536225 (patch) | |
tree | 21deae10784df127b9989e2cfe4a472686ff1655 /src/android | |
parent | 0164449955d1b4787fce03f8800e32f19fd04a01 (diff) | |
download | glutin-0ad9c3d453076adc5d94008d7e155d7ee5536225.tar.gz glutin-0ad9c3d453076adc5d94008d7e155d7ee5536225.zip |
Add callback function to allow resize messages to be sent on mac.
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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")] |