Skip to content

Commit

Permalink
fix doc string for SurfaceConfiguration::usage (#6668)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf authored Dec 5, 2024
1 parent c933487 commit 3808661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5557,7 +5557,7 @@ impl Default for SurfaceCapabilities {
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct SurfaceConfiguration<V> {
/// The usage of the swap chain. The only supported usage is `RENDER_ATTACHMENT`.
/// The usage of the swap chain. The only usage guaranteed to be supported is `RENDER_ATTACHMENT`.
pub usage: TextureUsages,
/// The texture format of the swap chain. The only formats that are guaranteed are
/// `Bgra8Unorm` and `Bgra8UnormSrgb`
Expand Down

0 comments on commit 3808661

Please sign in to comment.