1
0
Fork 0
forked from wry/wry

metal: allow configuring framebuffer formats

This commit is contained in:
Julian Orth 2024-09-04 19:56:01 +02:00
parent 9bab4f7ce1
commit b4ca15fec0
24 changed files with 713 additions and 58 deletions

View file

@ -573,6 +573,9 @@ impl Output {
c.set_tearing_mode(mode);
}
}
if let Some(format) = self.format {
c.set_format(format);
}
}
}