Merge branch 'master' into beacon

This commit is contained in:
Héctor Ramón Jiménez 2025-04-01 02:18:20 +02:00
commit e060129951
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
30 changed files with 915 additions and 633 deletions

View file

@ -79,6 +79,7 @@ pub trait Compositor: Sized {
surface: &mut Self::Surface,
viewport: &Viewport,
background_color: Color,
on_pre_present: impl FnOnce(),
) -> Result<(), SurfaceError>;
/// Screenshots the current [`Renderer`] primitives to an offscreen texture, and returns the bytes of
@ -190,6 +191,7 @@ impl Compositor for () {
_surface: &mut Self::Surface,
_viewport: &Viewport,
_background_color: Color,
_on_pre_present: impl FnOnce(),
) -> Result<(), SurfaceError> {
Ok(())
}