aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r--src/win32/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 2e0dcae..f900c1f 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -47,7 +47,7 @@ impl HeadlessContext {
::Api::OpenGl
}
- pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
+ pub fn set_window_resize_callback(&mut self, _: Option<fn(uint, uint)>) {
}
}
@@ -280,7 +280,7 @@ impl Window {
::Api::OpenGl
}
- pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
+ pub fn set_window_resize_callback(&mut self, _: Option<fn(uint, uint)>) {
}
}