aboutsummaryrefslogtreecommitdiff
path: root/src/games/tetris/Board.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/games/tetris/Board.cpp')
-rw-r--r--src/games/tetris/Board.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/games/tetris/Board.cpp b/src/games/tetris/Board.cpp
index dd83cb1..1e57b2f 100644
--- a/src/games/tetris/Board.cpp
+++ b/src/games/tetris/Board.cpp
@@ -100,7 +100,7 @@ void Board::Draw(int32_t level) {
tetromino_size_with_border * 10,
tetromino_size_with_border * 20
};
- RectF32 bg_world_rect = {
+ Rectangle bg_world_rect = {
bg_world_pos.x,
bg_world_pos.y,
bg_world_pos.x + bg_world_dim.x,
@@ -128,7 +128,7 @@ void Board::Draw(int32_t level) {
1.0f
};
V2F32 world_dim = local_dim;
- RectF32 world_rect = {
+ Rectangle world_rect = {
world_pos.x,
world_pos.y,
world_pos.x + world_dim.x,