Refer to "macOS", not "macOS X". (#9704)

# Objective

- Refer to OSes by their correct name.

## Solution

- Do so.
This commit is contained in:
Bruce Mitchener 2023-09-06 02:06:08 +07:00 committed by GitHub
parent d04e4bbde1
commit cac844243f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,9 +149,9 @@ pub struct Window {
///
/// ## Platform-specific
/// - iOS / Android / Web: Unsupported.
/// - macOS X: Not working as expected.
/// - macOS: Not working as expected.
///
/// macOS X transparent works with winit out of the box, so this issue might be related to: <https://github.com/gfx-rs/wgpu/issues/687>.
/// macOS transparent works with winit out of the box, so this issue might be related to: <https://github.com/gfx-rs/wgpu/issues/687>.
/// You should also set the window `composite_alpha_mode` to `CompositeAlphaMode::PostMultiplied`.
pub transparent: bool,
/// Get/set whether the window is focused.