mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 08:21:25 +01:00
Fix typo (#9279)
This commit is contained in:
1 parent
81eca17db8
commit
df0116137f
1 file changed
+1
-1
@@ -89,7 +89,7 @@ impl Surface<'_> {
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// - A old [`SurfaceTexture`] is still alive referencing an old surface.
|
||||
/// - An old [`SurfaceTexture`] is still alive referencing an old surface.
|
||||
/// - Texture format requested is unsupported on the surface.
|
||||
/// - `config.width` or `config.height` is zero.
|
||||
pub fn configure(&self, device: &Device, config: &SurfaceConfiguration) {
|
||||
|
||||
Reference in new issue
Block a user