aboutsummaryrefslogtreecommitdiff
path: root/src/fw
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-02-06 22:35:02 -0500
committeriamcheeseman <[hidden email]>2026-02-06 22:35:02 -0500
commitabef713d32b1e237edd718999e47997f5a2a1bcb (patch)
treeb40f1373ac7a75655c550ffd365d818d2bf60a29 /src/fw
parentffd24338b945ea2adf8a3c9ce217407da980b3a0 (diff)
fix props not flipping rightly
Diffstat (limited to 'src/fw')
-rw-r--r--src/fw/renderer.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw/renderer.odin b/src/fw/renderer.odin
index 72ec3e1..e8b34fe 100644
--- a/src/fw/renderer.odin
+++ b/src/fw/renderer.odin
@@ -368,7 +368,7 @@ draw_tex :: proc(
color := WHITE,
) {
draw_rect(
- pos = pos - offset,
+ pos = pos - (offset * scale),
size = Vec2{f32(tex.size.x), f32(tex.size.y)} * scale,
depth = depth,
tex = tex,