diff --git a/src/sdl2/rect.rs b/src/sdl2/rect.rs index 79f8957ed0..4e0e4c0929 100644 --- a/src/sdl2/rect.rs +++ b/src/sdl2/rect.rs @@ -1360,7 +1360,7 @@ impl FRect { } pub fn raw_mut(&mut self) -> *mut sys::SDL_FRect { - self.raw() as *mut _ + &mut self.raw } #[doc(alias = "SDL_FRect")]