diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/games/tetris/Board.cpp | 2 | ||||
| -rw-r--r-- | src/games/tetris/Tetromino.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/games/tetris/Board.cpp b/src/games/tetris/Board.cpp index 6188eb8..a1ab72a 100644 --- a/src/games/tetris/Board.cpp +++ b/src/games/tetris/Board.cpp @@ -145,7 +145,7 @@ Board::Draw(int32_t level) Color color = Tetromino::GetColor(tetromino_id); - g_renderer.PushRectangle(world_rect, color, Game::z_layer1); + g_renderer.PushRectangle(world_rect, color, Game::z_layer2); } } } 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); } } } |
