From 21090303e1690b72bf22b97b2b773fdf1453b484 Mon Sep 17 00:00:00 2001 From: Daniel Monteiro Date: Tue, 14 Nov 2023 00:11:20 +0000 Subject: [PATCH] [EE] Fix compilation --- ee_frontend/base3d/src/ee/Renderer.c | 4 ++-- ee_frontend/base3d/src/ee/Renderer_Rasterization.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ee_frontend/base3d/src/ee/Renderer.c b/ee_frontend/base3d/src/ee/Renderer.c index 920db4272..c193743ce 100644 --- a/ee_frontend/base3d/src/ee/Renderer.c +++ b/ee_frontend/base3d/src/ee/Renderer.c @@ -1044,7 +1044,7 @@ void render(const long ms) { if (focusItemName != NULL) { size_t len = strlen(focusItemName); int lines = 1 + (len / 27); - fill(0, YRES - (8 * lines), XRES, lines * 8, 0, 1); + fillRect(0, YRES - (8 * lines), XRES, lines * 8, 0, 1); drawTextAtWithMarginWithFiltering(1, 26 - lines, XRES, focusItemName, 255, ' '); } @@ -1069,7 +1069,7 @@ void render(const long ms) { } } - fill(0, 0, 216, lines * 8, 0, 1); + fillRect(0, 0, 216, lines * 8, 0, 1); drawTextAt(1, 1, &messageLogBuffer[0], 255); } diff --git a/ee_frontend/base3d/src/ee/Renderer_Rasterization.c b/ee_frontend/base3d/src/ee/Renderer_Rasterization.c index d40f1feed..435c1ce95 100644 --- a/ee_frontend/base3d/src/ee/Renderer_Rasterization.c +++ b/ee_frontend/base3d/src/ee/Renderer_Rasterization.c @@ -96,16 +96,16 @@ void drawRect( const size_t dy, const FramebufferPixelFormat pixel) { - fill(x, y, 1, dy - 1, pixel, 0); + fillRect(x, y, 1, dy - 1, pixel, 0); - fill(x, y, dx - 1, 1, pixel, 0); + fillRect(x, y, dx - 1, 1, pixel, 0); - fill(x + dx - 1, y, 1, dy - 1, pixel, 0); + fillRect(x + dx - 1, y, 1, dy - 1, pixel, 0); - fill(x, y + dy - 1, dx, 1, pixel, 0); + fillRect(x, y + dy - 1, dx, 1, pixel, 0); } -void fill( +void fillRect( const int _x, const int _y, const size_t _dx,