docs: present_with_damage is supported on web platform

This commit is contained in:
Benoît Cortier 2023-10-13 11:32:21 -04:00 committed by GitHub
parent 888a9963ad
commit 9736fe9e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -466,6 +466,7 @@ impl<'a> Buffer<'a> {
/// - Wayland
/// - X, when XShm is available
/// - Win32
/// - Web
///
/// Otherwise this is equivalent to [`Self::present`].
pub fn present_with_damage(self, damage: &[Rect]) -> Result<(), SoftBufferError> {