This commit is contained in:
xacrimon committed 2021-09-10 21:44:35 +02:00
1 parent da849115b5
commit a1bfbbbfab
1 file changed
+1 -1
+1 -1
View File
@@ -271,7 +271,7 @@ impl crate::Surface<super::Api> for super::Surface {
if let Some(drawable) = render_layer.next_drawable() {
Ok((drawable.to_owned(), drawable.texture().to_owned()))
} else {
return Err(crate::SurfaceError::Other("failed to allocate drawable due to metal resource exhaustion"));
Err(crate::SurfaceError::Other("failed to allocate drawable due to metal resource exhaustion"))
}
})?;