Update example code
This commit is contained in:
parent
7e8d34645a
commit
9068d57857
|
|
@ -215,7 +215,7 @@ bool generateAtlas(const char *fontFilename) {
|
|||
ImmediateAtlasGenerator<
|
||||
float, // pixel type of buffer for individual glyphs depends on generator function
|
||||
3, // number of atlas color channels
|
||||
&msdfGenerator, // function to generate bitmaps for individual glyphs
|
||||
msdfGenerator, // function to generate bitmaps for individual glyphs
|
||||
BitmapAtlasStorage<byte, 3> // class that stores the atlas bitmap
|
||||
// For example, a custom atlas storage class that stores it in VRAM can be used.
|
||||
> generator(width, height);
|
||||
|
|
|
|||
Loading…
Reference in New Issue