From 112e375b5eae0e25eace9aae68bda8554ed6dcaf Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 11 Oct 2022 21:21:27 +0200 Subject: [PATCH] Kernel: Add a FIXME --- kernel/src/render/TextRenderer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/src/render/TextRenderer.cpp b/kernel/src/render/TextRenderer.cpp index 6b212273..6d47cabc 100644 --- a/kernel/src/render/TextRenderer.cpp +++ b/kernel/src/render/TextRenderer.cpp @@ -29,8 +29,9 @@ void TextRenderer::reset() #pragma GCC push_options #pragma GCC optimize("O0") -static void putchar_at_offset(char c, [[maybe_unused]] uint32_t cx, [[maybe_unused]] uint32_t cy, - [[maybe_unused]] Color& fg, [[maybe_unused]] Color& bg) +static void putchar_at_offset( + char c, [[maybe_unused]] uint32_t cx, [[maybe_unused]] uint32_t cy, [[maybe_unused]] Color& fg, + [[maybe_unused]] Color& bg) // FIXME: Rewrite this function to actually work with foreground and background colors. { uint8_t* glyph = &font[c * 16]; for (uint32_t y = 0; y < FONT_HEIGHT; y++)