diff options
author | pommicket <pommicket@gmail.com> | 2023-08-06 15:24:55 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-06 15:24:55 -0400 |
commit | 823815101f55ca0ce67f36867b93934ccdba1953 (patch) | |
tree | 2766bf1cf860245445e52aa4626b0005fb701e4d /util.c | |
parent | 52da64686fb506372fa09ab562915f895cd88cb9 (diff) |
silence weird opengl warning
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -790,10 +790,6 @@ bool rect_contains_point(Rect r, vec2 point) { return rect_contains_point_v2(r.pos, r.size, point); } -Rect rect_translate(Rect r, vec2 by) { - return rect(vec2_add(r.pos, by), r.size); -} - float rect_x1(Rect r) { return r.pos.x; } float rect_y1(Rect r) { return r.pos.y; } float rect_x2(Rect r) { return r.pos.x + r.size.x; } |