mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
janitor: Fix warning about unused functions/modules when compiling with Skia and D3d or Metal
When using Metal or D3D, we don't need the glcontext module.
This commit is contained in:
parent
c07ae0bf12
commit
dbe9f33bb4
1 changed files with 2 additions and 0 deletions
|
@ -13,7 +13,9 @@ use std::rc::Rc;
|
|||
|
||||
mod glwindow;
|
||||
use glwindow::*;
|
||||
#[cfg(any(feature = "renderer-winit-femtovg", skia_backend_opengl))]
|
||||
mod glcontext;
|
||||
#[cfg(any(feature = "renderer-winit-femtovg", skia_backend_opengl))]
|
||||
use glcontext::*;
|
||||
pub(crate) mod event_loop;
|
||||
mod renderer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue