mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04:00
Fix typo in pre_present_notify docs
Fix typo and other small grammar corrections.
This commit is contained in:
@@ -600,11 +600,11 @@ impl Window {
|
|||||||
self.window.maybe_queue_on_main(|w| w.request_redraw())
|
self.window.maybe_queue_on_main(|w| w.request_redraw())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Notify the windowing system that you're before presenting to the window.
|
/// Notify the windowing system before presenting to the window.
|
||||||
///
|
///
|
||||||
/// You should call this event after you've done drawing operations, but before you submit
|
/// You should call this event after your drawing operations, but before you submit
|
||||||
/// the buffer to the display or commit your drawings. Doing so will help winit to properly
|
/// the buffer to the display or commit your drawings. Doing so will help winit to properly
|
||||||
/// schedule and do assumptions about its internal state. For example, it could properly
|
/// schedule and make assumptions about its internal state. For example, it could properly
|
||||||
/// throttle [`WindowEvent::RedrawRequested`].
|
/// throttle [`WindowEvent::RedrawRequested`].
|
||||||
///
|
///
|
||||||
/// ## Example
|
/// ## Example
|
||||||
|
|||||||
Reference in New Issue
Block a user