drop let binding

This commit is contained in:
John Giorshev
2025-02-18 13:38:38 -05:00
parent 880632d6f4
commit 76a697e1a3

View File

@@ -1202,7 +1202,7 @@ impl<T: RenderTarget> Canvas<T> {
pub fn clip_rect(&self) -> ClippingRect {
let clip_enabled = unsafe { sys::SDL_RenderIsClipEnabled(self.context.raw) };
if let sys::SDL_bool::SDL_FALSE = clip_enabled {
if sys::SDL_bool::SDL_FALSE == clip_enabled {
return ClippingRect::None;
}