Minor rewording of ConfigureSurfaceError::TooLarge (#5371)

This commit is contained in:
Lucas Kent authored and GitHub committed 2024-03-10 20:48:30 +01:00
1 parent b731495e05
commit cf4f8bc3a3
1 file changed
+1 -1
+1 -1
View File
@@ -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,