Prepping to allow textures to have different render modes/types. Prepping for freetype support
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user