diff --git a/README.md b/README.md index 50eafcf21d..f2a50cf841 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Rust-SDL2 is a library for talking to the new SDL2.0 libraries from Rust. Low-level C components are wrapped in Rust code to make them more idiomatic and abstract away inappropriate manual memory management. -Rust-SDL2 uses the MIT license, but SDL2 itselfais in under the zlib license. +Rust-SDL2 uses the MIT license, but SDL2 itself is under the zlib license. ## Available rust features 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, }