Prepping to allow textures to have different render modes/types. Prepping for freetype support
This commit is contained in:
1 parent
68650b1b93
commit
6069c71384
18 files changed
+344
-48
No files matched your search
@@ -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