Provide a Display handle to graphics::Compositor

This commit is contained in:
Nico Just 2025-10-23 15:19:45 +02:00 committed by Héctor Ramón Jiménez
parent b9eeb34a12
commit 8374c6baa8
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 51 additions and 24 deletions

View file

@ -261,9 +261,10 @@ impl graphics::Compositor for Compositor {
type Renderer = Renderer;
type Surface = wgpu::Surface<'static>;
async fn with_backend<W: compositor::Window>(
async fn with_backend(
settings: graphics::Settings,
compatible_window: W,
_display: impl compositor::Display,
compatible_window: impl compositor::Window,
shell: Shell,
backend: Option<&str>,
) -> Result<Self, graphics::Error> {