Small improvements for code readability

This commit is contained in:
Jaby
2024-01-23 14:44:10 -05:00
parent e2916d3a2b
commit c546b3de4e
12 changed files with 35 additions and 30 deletions

View File

@@ -56,7 +56,7 @@ namespace JabyEngine {
void FontWriter :: setup(const SimpleTIM& vram_dst, const FontInfo::RenderInfo& font_render_info) {
for(auto& tex_page : this->tex_page) {
tex_page = Make::TexPage(vram_dst.get_texture_position(), GPU::TexturePageColor::$4bit).linked();
tex_page = Make::TexPage(vram_dst.get_texture_position(), GPU::TextureColorMode::clut4).linked();
}
this->render_info = font_render_info;
this->clut = Make::PageClut(vram_dst.get_clut_position());