File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5463,8 +5463,16 @@ pub struct SurfaceConfiguration<V> {
54635463 /// `Bgra8Unorm` and `Bgra8UnormSrgb`
54645464 pub format : TextureFormat ,
54655465 /// Width of the swap chain. Must be the same size as the surface, and nonzero.
5466+ ///
5467+ /// If this is not the same size as the underlying surface (e.g. if it is
5468+ /// set once, and the window is later resized), the behaviour is defined
5469+ /// but platform-specific, and may change in the future.
54665470 pub width : u32 ,
54675471 /// Height of the swap chain. Must be the same size as the surface, and nonzero.
5472+ ///
5473+ /// If this is not the same size as the underlying surface (e.g. if it is
5474+ /// set once, and the window is later resized), the behaviour is defined
5475+ /// but platform-specific, and may change in the future.
54685476 pub height : u32 ,
54695477 /// Presentation mode of the swap chain. Fifo is the only mode guaranteed to be supported.
54705478 /// FifoRelaxed, Immediate, and Mailbox will crash if unsupported, while AutoVsync and
You can’t perform that action at this time.
0 commit comments