+
+ // Select correct size for new atlas if needed....?
+ if ( lastFontId != glyph.fontId )
+ {
+ for ( uint32_t j = 0; j < mBlockSizes.size(); ++j )
+ {
+ if ( mBlockSizes[ j ].mFontId == glyph.fontId )
+ {
+ mGlyphManager.SetAtlasSize( DEFAULT_ATLAS_SIZE, mBlockSizes[ j ].mNeededBlockSize );
+ }
+ }
+ lastFontId = glyph.fontId;
+ }
+