passat el codi de pintar el mode debug de textura a surface

This commit is contained in:
2025-03-20 18:02:31 +01:00
parent f438e8946b
commit 0667e2105b
5 changed files with 91 additions and 109 deletions

View File

@@ -48,7 +48,7 @@ void Debug::render()
y = 0;
for (const auto &l : log_)
{
text->writeColored(x_ + 10, y, l, stringToColor("white"));
text->writeColored(x_ + 10, y, l, static_cast<Uint8>(PaletteColor::WHITE));
y += text->getCharacterSize() + 1;
}
}