mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
Add callback function to allow resize messages to be sent on mac.
This commit is contained in:
@@ -52,6 +52,9 @@ impl HeadlessContext {
|
||||
pub fn get_api(&self) -> ::Api {
|
||||
::Api::OpenGl
|
||||
}
|
||||
|
||||
pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for HeadlessContext {
|
||||
|
||||
Reference in New Issue
Block a user