mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Add resize example, fix warnings, make callback an option so it can be removed.
This commit is contained in:
@@ -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)>) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user