aboutsummaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2014-12-17 09:41:27 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2014-12-19 05:44:47 +1000
commitfa5cb66cff2e13a5ee75c4f99abe5f93bede7dd1 (patch)
treed43f94a82c811600935ec4fe5848499f63c80357 /src/android
parent0ad9c3d453076adc5d94008d7e155d7ee5536225 (diff)
downloadglutin-fa5cb66cff2e13a5ee75c4f99abe5f93bede7dd1.tar.gz
glutin-fa5cb66cff2e13a5ee75c4f99abe5f93bede7dd1.zip
Add resize example, fix warnings, make callback an option so it can be removed.
Diffstat (limited to 'src/android')
-rw-r--r--src/android/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs
index ad9d00a..3a86779 100644
--- a/src/android/mod.rs
+++ b/src/android/mod.rs
@@ -274,7 +274,7 @@ impl Window {
::Api::OpenGlEs
}
- pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
+ pub fn set_window_resize_callback(&mut self, _: Option<fn(uint, uint)>) {
}
}