diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-09-17 15:30:21 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-09-17 15:30:21 +0200 | 
| commit | f28e9c3e03a9f94764b3811f7c4aa01991943fc7 (patch) | |
| tree | 569850adf97494f5ce31dfe31a4c2703f378a144 /src/games/tetris/Tetris.cpp | |
| parent | b46a0d9369fbaa1938f0968ab216bc2d564a9c37 (diff) | |
switch to software renderer
Diffstat (limited to 'src/games/tetris/Tetris.cpp')
| -rw-r--r-- | src/games/tetris/Tetris.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/games/tetris/Tetris.cpp b/src/games/tetris/Tetris.cpp index e776fb0..24881a8 100644 --- a/src/games/tetris/Tetris.cpp +++ b/src/games/tetris/Tetris.cpp @@ -35,7 +35,7 @@ void Tetris::Restart() {  }  bool Tetris::Update(std::vector<SDL_Event> &events, RenderGroup &render_group) { -    V3F32 clear_color = V3F32(0.2f, 0.2f, 0.2f); +    Color clear_color = {0.2f, 0.2f, 0.2f, 1.0f};      render_group.SetCameraSize(4.0f, 3.0f);      render_group.Clear(clear_color);  | 
