From cf4f8bc3a3f540501d50c07c57c4b35b226b8b48 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Mon, 11 Mar 2024 06:48:30 +1100 Subject: [PATCH] Minor rewording of ConfigureSurfaceError::TooLarge (#5371) --- wgpu-core/src/present.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-core/src/present.rs b/wgpu-core/src/present.rs index 4bf9c4292..cb4e17798 100644 --- a/wgpu-core/src/present.rs +++ b/wgpu-core/src/present.rs @@ -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,