mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01:00
Minor rewording of ConfigureSurfaceError::TooLarge (#5371)
This commit is contained in:
1 parent
b731495e05
commit
cf4f8bc3a3
1 file changed
+1
-1
@@ -70,7 +70,7 @@ pub enum ConfigureSurfaceError {
|
||||
PreviousOutputExists,
|
||||
#[error("Both `Surface` width and height must be non-zero. Wait to recreate the `Surface` until the window has non-zero area.")]
|
||||
ZeroArea,
|
||||
#[error("`Surface` width and height must be within the maximum supported texture size. Requested was ({width}, {height}), maximum extent is {max_texture_dimension_2d}.")]
|
||||
#[error("`Surface` width and height must be within the maximum supported texture size. Requested was ({width}, {height}), maximum extent for either dimension is {max_texture_dimension_2d}.")]
|
||||
TooLarge {
|
||||
width: u32,
|
||||
height: u32,
|
||||
|
||||
Reference in new issue
Block a user