aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-02 19:51:54 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:00 +0200
commiteecf4b1e666211a13afa56f93477c55e8fd01621 (patch)
tree410510d6e058995174d5a5b0f535fb457a0c3542 /src/engine/graphics
parent87f55120f96d0f4f80b497dc9006d89df2dda125 (diff)
feat: implement game of lifev0.1.0
Diffstat (limited to 'src/engine/graphics')
-rw-r--r--src/engine/graphics/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/graphics/scene.cpp b/src/engine/graphics/scene.cpp
index 7a0e960..9f561f0 100644
--- a/src/engine/graphics/scene.cpp
+++ b/src/engine/graphics/scene.cpp
@@ -13,7 +13,7 @@
Scene::Scene(
IMatrixFactory<MatrixElement> matrix_factory,
std::shared_ptr<ICursorController> cursor_controller) noexcept
- : _matrix(matrix_factory(size() - Bounds({.width = 0U, .height = 1U}))),
+ : _matrix(matrix_factory(size())),
_cursor_controller(std::move(cursor_controller)),
_is_shown(false)
{