diff options
author | 2024-01-18 10:06:30 +0100 | |
---|---|---|
committer | 2024-01-18 10:06:30 +0100 | |
commit | 5fc49edc55a0e64c4c46ca55eddafe9d4e8232e1 (patch) | |
tree | def282b187be48e4b61cfd55cbe243a3dd1191f8 /graphics | |
parent | 1701ec815d3f25ea8097e806081e7a3ac9ba4d82 (diff) | |
download | iced-5fc49edc55a0e64c4c46ca55eddafe9d4e8232e1.tar.gz iced-5fc49edc55a0e64c4c46ca55eddafe9d4e8232e1.tar.bz2 iced-5fc49edc55a0e64c4c46ca55eddafe9d4e8232e1.zip |
Make `compatible_window` mandatory in `Compositor`
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/src/compositor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/compositor.rs b/graphics/src/compositor.rs index e6b9030b..0188f4d8 100644 --- a/graphics/src/compositor.rs +++ b/graphics/src/compositor.rs @@ -22,7 +22,7 @@ pub trait Compositor: Sized { /// Creates a new [`Compositor`]. fn new<W: Window + Clone>( settings: Self::Settings, - compatible_window: Option<W>, + compatible_window: W, ) -> Result<Self, Error>; /// Creates a [`Self::Renderer`] for the [`Compositor`]. |