aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vendor/sdl2/sdl_rect.odin2
1 files changed, 1 insertions, 1 deletions
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)))
}