aboutsummaryrefslogtreecommitdiff
path: root/src/games/tetris/Tetromino.cpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-11-25 02:14:20 +0100
committerfschildt <florian.schildt@protonmail.com>2025-11-25 02:14:20 +0100
commit746819470de51c4f7331b64980f3da9bfb750a12 (patch)
tree130b932c99c82509b248bfeb573eed053fb5ff3b /src/games/tetris/Tetromino.cpp
parentd82b2f074b33a232ab23c3f4b9e9f102f9c58e28 (diff)
tetris: fix z-values
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 a3ec9dd..ad75161 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, color, Game::z_layer1);
+ g_renderer.PushRectangle(world_rect, color, Game::z_layer2);
}
}
}