aboutsummaryrefslogtreecommitdiff
path: root/src/renderer/RSoftwareBackend.hpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-11-24 18:18:24 +0100
committerfschildt <florian.schildt@protonmail.com>2025-11-24 18:19:45 +0100
commitfeb4bc8cbc66ba928319ddb2cc1bf48010487863 (patch)
tree2011affc8ecb16d295fa86a8ef5b8e6f715a9bc3 /src/renderer/RSoftwareBackend.hpp
parent935f1971bee684c6c9baded2564a550351cc5582 (diff)
renderer: improve resizing
Diffstat (limited to 'src/renderer/RSoftwareBackend.hpp')
-rw-r--r--src/renderer/RSoftwareBackend.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/RSoftwareBackend.hpp b/src/renderer/RSoftwareBackend.hpp
index 3e5e17d..9217061 100644
--- a/src/renderer/RSoftwareBackend.hpp
+++ b/src/renderer/RSoftwareBackend.hpp
@@ -28,13 +28,13 @@ public:
RSoftwareBackend(Renderer& renderer);
void Draw();
- void Clear(Color color);
private:
- void ResizeCanvas(int32_t w, int32_t h);
+ void Resize(int32_t w, int32_t h);
void SortRenderEntities();
+ void DrawClear();
void DrawRectangle(REntity_Rectangle& entity);
void DrawAlphaBitmap(REntity_AlphaBitmap& entity);
void DrawText(REntity_Text& entity);