Remove GPU Commands constructor

This commit is contained in:
2023-09-25 20:45:11 +02:00
parent ce36f69435
commit 7943bafb8d
4 changed files with 6 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ namespace FontWriter {
}
void FontWriter::Pool::Buffer :: setup() {
this->page = GPU::TexPage({Assets::FontTIM.get_texture_x(), Assets::FontTIM.get_texture_y()}, GPU::TexturePageColor::$4bit).linked();
this->page = GPU::TexPage::create({Assets::FontTIM.get_texture_x(), Assets::FontTIM.get_texture_y()}, GPU::TexturePageColor::$4bit).linked();
for(auto& single_char : this->text_buffer) {
single_char.set_link_identitiy();
single_char->set_identitiy();