Skip to content

Commit

Permalink
Fixed Dead Code Warning
Browse files Browse the repository at this point in the history
Disabled dead code warning.
  • Loading branch information
TheRealDust committed Jul 2, 2024
1 parent 315c9e2 commit ad94eeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sdl2/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit ad94eeb

Please sign in to comment.