Skip to content

Commit

Permalink
Merge pull request #1452 from antonilol/fix-clone-drop
Browse files Browse the repository at this point in the history
remove unnecessary clone
  • Loading branch information
Cobrand authored Feb 18, 2025
2 parents 400e033 + ef5bfe8 commit f082146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl2/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ impl WindowContext {
metal_view: sys::SDL_MetalView,
) -> WindowContext {
WindowContext {
subsystem: subsystem.clone(),
subsystem,
raw,
metal_view,
}
Expand Down

0 comments on commit f082146

Please sign in to comment.