Update example code

This commit is contained in:
Tony Ngo 2025-01-21 08:12:39 +10:30 committed by GitHub
parent 7e8d34645a
commit 9068d57857
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);