Skip to content

Commit

Permalink
Update SwapchainCreateInfo image_extent doc (#2065)
Browse files Browse the repository at this point in the history
Outdated mention of None
  • Loading branch information
ftvkyo authored Oct 30, 2022
1 parent 3550dea commit 22442a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vulkano/src/swapchain/swapchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,10 +1014,10 @@ pub struct SwapchainCreateInfo {

/// The extent of the created images.
///
/// If set to `None`, the value of
/// If any of the values is 0, the value of
/// [`SurfaceCapabilities::current_extent`](crate::swapchain::SurfaceCapabilities) will be used.
///
/// The default value is `None`.
/// The default value is `[0, 0]`.
pub image_extent: [u32; 2],

/// The number of array layers of the created images.
Expand Down

0 comments on commit 22442a5

Please sign in to comment.