Kernel: Add a FIXME

This commit is contained in:
apio 2022-10-11 21:21:27 +02:00
parent c30041b733
commit 112e375b5e

View File

@ -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++)