diff --git a/vendor/sdl2/sdl_rect.odin b/vendor/sdl2/sdl_rect.odin index ad09b187a..6f06d88ec 100644 --- a/vendor/sdl2/sdl_rect.odin +++ b/vendor/sdl2/sdl_rect.odin @@ -28,7 +28,7 @@ FRect :: struct { w, h: f32, } -PointInRect :: proc(p, r: ^Rect) -> bool { +PointInRect :: proc(p: ^Point, r: ^Rect) -> bool { return bool((p.x >= r.x) && (p.x < (r.x + r.w)) && (p.y >= r.y) && (p.y < (r.y + r.h))) }