Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe
This commit is contained in:
commit
e822f654e4
219 changed files with 6266 additions and 1761 deletions
|
|
@ -17,7 +17,10 @@ pub trait Compositor: Sized {
|
|||
type SwapChain;
|
||||
|
||||
/// Creates a new [`Compositor`].
|
||||
fn new(settings: Self::Settings) -> Result<(Self, Self::Renderer), Error>;
|
||||
fn new<W: HasRawWindowHandle>(
|
||||
settings: Self::Settings,
|
||||
compatible_window: Option<&W>,
|
||||
) -> Result<(Self, Self::Renderer), Error>;
|
||||
|
||||
/// Crates a new [`Surface`] for the given window.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue