1
0
Fork 0
forked from wry/wry

metal: use blend buffer if possible

This commit is contained in:
Julian Orth 2025-02-21 12:22:28 +01:00
parent a7cb2ee42a
commit 81d564dcb6
3 changed files with 16 additions and 4 deletions

View file

@ -749,7 +749,7 @@ impl MetalConnector {
ReleaseSync::Explicit,
&latched.pass,
&latched.damage,
None,
buffer.blend_buffer.as_ref(),
)
.map_err(MetalError::RenderFrame)?;
sync_file = buffer.copy_to_dev(sf)?;