mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 14:23:32 +00:00
Update wgpu/src/api/surface_texture.rs
Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
parent
c321520a82
commit
ea67d72262
@ -79,7 +79,7 @@ impl fmt::Display for SurfaceError {
|
||||
Self::Outdated => "The underlying surface has changed, and therefore the swap chain must be updated",
|
||||
Self::Lost => "The swap chain has been lost and needs to be recreated",
|
||||
Self::OutOfMemory => "There is no more memory left to allocate a new frame",
|
||||
SurfaceError::Other => "Acquiring a texture failed for an unknown reason"
|
||||
Self::Other => "Acquiring a texture failed for an unknown reason"
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user