diff --git a/src/sdl2/video.rs b/src/sdl2/video.rs index b539085418..c758a61425 100644 --- a/src/sdl2/video.rs +++ b/src/sdl2/video.rs @@ -547,6 +547,7 @@ impl GLContext { pub struct WindowContext { subsystem: VideoSubsystem, raw: *mut sys::SDL_Window, + #[allow(dead_code)] pub(crate) metal_view: sys::SDL_MetalView, }