mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
linuxkms: ignore warning when no renderer are active
This commit is contained in:
parent
a4c0cc9f09
commit
845f40da9c
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
use i_slint_core::api::PhysicalSize;
|
||||
use i_slint_core::platform::PlatformError;
|
||||
|
||||
#[allow(unused)]
|
||||
pub trait Presenter {
|
||||
fn is_ready_to_present(&self) -> bool;
|
||||
fn register_page_flip_handler(
|
||||
|
|
|
@ -38,6 +38,7 @@ mod renderer {
|
|||
pub fn try_skia_then_femtovg_then_software(
|
||||
_device_opener: &crate::DeviceOpener,
|
||||
) -> Result<Box<dyn FullscreenRenderer>, PlatformError> {
|
||||
#[allow(unused)]
|
||||
type FactoryFn =
|
||||
fn(&crate::DeviceOpener) -> Result<Box<(dyn FullscreenRenderer)>, PlatformError>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue