mirror of
https://github.com/storytold/winit.git
synced 2026-11-28 01:13:21 +01:00
Add resize example, fix warnings, make callback an option so it can be removed.
This commit is contained in:
1 parent
0ad9c3d453
commit
fa5cb66cff
7 files changed
+27
-23
No files matched your search
+1
-1
@@ -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