Provide a Display handle to graphics::Compositor
This commit is contained in:
parent
b9eeb34a12
commit
8374c6baa8
5 changed files with 51 additions and 24 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue