Improve naming

This commit is contained in:
2023-11-26 19:44:10 -05:00
parent 21649c4fe8
commit 30057d9687
8 changed files with 188 additions and 184 deletions

View File

@@ -82,8 +82,8 @@ namespace FontWriter {
}
const uint8_t char_id = cur_char - '!';
(*Pool::text_ptr)->page = GPU::PagePosition::create(((char_id & 0xF) << 4), ((char_id >> 4) << 4));
(*Pool::text_ptr)->color = font_color;
(*Pool::text_ptr)->tex_offset = GPU::PageOffset::create(((char_id & 0xF) << 4), ((char_id >> 4) << 4));
(*Pool::text_ptr)->color = font_color;
Pool::last_link = &Pool::last_link->concat(*Pool::text_ptr);
Pool::text_ptr++;