1
0
Fork 0

Silence warning for standalone config on macOS

This commit is contained in:
Robbert van der Helm 2022-12-02 19:42:51 +01:00
parent 1767e6abe4
commit 2747714640

View file

@ -63,6 +63,8 @@ pub struct Wrapper<P: Plugin, B: Backend> {
/// that using a special `MainThreadExecutor` wrapper around `AsyncExecutor`.
pub(crate) event_loop: OsEventLoop<P::BackgroundTask, TaskExecutorWrapper<P>>,
/// This is used to grab the DPI scaling config. Not used on macOS.
#[allow(unused)]
config: WrapperConfig,
/// The bus and buffer configurations are static for the standalone target.