Prepping to allow textures to have different render modes/types. Prepping for freetype support

This commit is contained in:
2023-05-21 23:35:39 -07:00
parent 68650b1b93
commit 6069c71384
18 changed files with 344 additions and 48 deletions

View File

@ -99,6 +99,6 @@ void ExampleFont::init() {
pixels[j++] = this->getColor(n & 0x01);
}
this->realTexture.setSize(128, 64);
this->realTexture.setSize(128, 64, TEXTURE_FORMAT_RGBA);
this->realTexture.buffer(pixels);
}