aboutsummaryrefslogtreecommitdiff
path: root/src/games/tetris/Tetromino.cpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-10-16 15:33:06 +0200
committerfschildt <florian.schildt@protonmail.com>2025-10-16 15:33:06 +0200
commita873df7a66dc1831cee4eae2d998abed88246268 (patch)
treec19cd079ce106e1431d64c34babf4ef59cf71723 /src/games/tetris/Tetromino.cpp
parent9f2845b12135c32dde91e58afc1193d54333ec9f (diff)
renderer: introduce text rendering
Diffstat (limited to 'src/games/tetris/Tetromino.cpp')
-rw-r--r--src/games/tetris/Tetromino.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/games/tetris/Tetromino.cpp b/src/games/tetris/Tetromino.cpp
index 2cde231..416a8df 100644
--- a/src/games/tetris/Tetromino.cpp
+++ b/src/games/tetris/Tetromino.cpp
@@ -233,7 +233,7 @@ Tetromino::Draw(Id id, int32_t ori, V2F32 pos, float scale)
Color color = GetColor(id);
- g_renderer.PushRectangle(world_rect, world_pos.z, color);
+ g_renderer.PushRectangle(world_rect, color, world_pos.z);
}
}
}